]> Creatis software - gdcm.git/blob - src/gdcmJpeg8.cxx
* FIX: new handling of JPEG decompression, especially when dicom
[gdcm.git] / src / gdcmJpeg8.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmJpeg8.cxx,v $
5   Language:  C++
6   Date:      $Date: 2004/12/12 17:21:07 $
7   Version:   $Revision: 1.13 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18 #include "gdcmFile.h"
19 #include <stdio.h>
20
21 extern "C" {
22 #include "gdcmjpeg/8/jconfig.h"
23 #include "gdcmjpeg/8/jpeglib.h"
24 #include "gdcmjpeg/8/jinclude.h"
25 #include "gdcmjpeg/8/jerror.h"
26 }
27
28 #define gdcm_write_JPEG_file  gdcm_write_JPEG_file8
29 #define gdcm_read_JPEG_file   gdcm_read_JPEG_file8
30 #define gdcm_read_JPEG_memory gdcm_read_JPEG_memory8
31
32 #include "gdcmJpeg.cxx"
33