1 /*=========================================================================
4 Module: $RCSfile: gdcmJpegLS.cxx,v $
6 Date: $Date: 2007/05/23 14:18:10 $
7 Version: $Revision: 1.6 $
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.
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.
17 =========================================================================*/
18 #include "gdcmFileHelper.h"
19 #include "gdcmDebug.h"
24 namespace GDCM_NAME_SPACE
27 //-----------------------------------------------------------------------------
29 * \brief routine for JPEG decompression. WARNING LPEG-LS is NOT
30 * the 'classical' jpeg lossless. See :
31 * http://www.jpeg.org/jpeg/jpegls.html
32 * gdcm DOES deal with 'classical' jpeg lossless
34 * @param fp pointer to an already open file descriptor
35 * JPEG-LS encoded image
36 * @param image_buffer to receive uncompressed pixels
37 * @return 1 on success, 0 on error
38 * @warning : not yet made
41 bool gdcm_read_JPEGLS_file (std::ifstream *fp, void *image_buffer)
45 gdcmWarningMacro( "Sorry JPEG-LS File not yet taken into account" );
48 } // end namespace gdcm
50 //-----------------------------------------------------------------------------