Program: gdcm
Module: $RCSfile: gdcmJpeg12.cxx,v $
Language: C++
- Date: $Date: 2004/11/07 15:53:35 $
- Version: $Revision: 1.25 $
+ Date: $Date: 2004/11/08 20:05:52 $
+ Version: $Revision: 1.26 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
extern "C" {
#include "gdcmjpeg/12/jconfig.h"
#include "gdcmjpeg/12/jpeglib.h"
+#include "gdcmjpeg/12/jinclude.h"
+#include "gdcmjpeg/12/jerror.h"
}
#define gdcm_write_JPEG_file gdcm_write_JPEG_file12
Program: gdcm
Module: $RCSfile: gdcmJpeg16.cxx,v $
Language: C++
- Date: $Date: 2004/11/07 15:53:35 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2004/11/08 20:05:52 $
+ Version: $Revision: 1.5 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
extern "C" {
#include "gdcmjpeg/16/jconfig.h"
#include "gdcmjpeg/16/jpeglib.h"
+#include "gdcmjpeg/16/jinclude.h"
+#include "gdcmjpeg/16/jerror.h"
}
#define gdcm_write_JPEG_file gdcm_write_JPEG_file16
Program: gdcm
Module: $RCSfile: gdcmJpeg8.cxx,v $
Language: C++
- Date: $Date: 2004/11/07 14:28:55 $
- Version: $Revision: 1.10 $
+ Date: $Date: 2004/11/08 20:05:52 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
extern "C" {
#include "gdcmjpeg/8/jconfig.h"
#include "gdcmjpeg/8/jpeglib.h"
+#include "gdcmjpeg/8/jinclude.h"
+#include "gdcmjpeg/8/jerror.h"
}
#define gdcm_write_JPEG_file gdcm_write_JPEG_file8
Program: gdcm
Module: $RCSfile: gdcmPixelConvert.cxx,v $
Language: C++
- Date: $Date: 2004/11/04 18:14:34 $
- Version: $Revision: 1.23 $
+ Date: $Date: 2004/11/08 20:05:52 $
+ Version: $Revision: 1.24 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
return false;
}
}
- else if ( BitsStored == 12)
+ else if ( BitsStored <= 12)
{
// Reading Fragment pixels
if ( ! gdcm_read_JPEG_file12 ( fp, localDecompressed ) )
return false;
}
}
- else if ( BitsStored == 16)
+ else if ( BitsStored <= 16)
{
// Reading Fragment pixels
if ( ! gdcm_read_JPEG_file16 ( fp, localDecompressed ) )
${CMAKE_CURRENT_BINARY_DIR}/${bits}/jpeglib.h COPYONLY IMMEDIATE)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/jerror.h
${CMAKE_CURRENT_BINARY_DIR}/${bits}/jerror.h COPYONLY IMMEDIATE)
+ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/jinclude.h
+ ${CMAKE_CURRENT_BINARY_DIR}/${bits}/jinclude.h COPYONLY IMMEDIATE)
ENDFOREACH(bits)
SUBDIRS(8 12 16)
*/
/* this is not a core library module, so it doesn't define JPEG_INTERNALS */
-#include <gdcmjpeg/jinclude.h>
-#include <gdcmjpeg/jerror.h>
/* Expanded data source object for stdio input */