1 /*=========================================================================
4 Module: $RCSfile: gdcmJpeg2000.cxx,v $
6 Date: $Date: 2004/10/08 04:52:55 $
7 Version: $Revision: 1.10 $
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 //-----------------------------------------------------------------------------
21 //-----------------------------------------------------------------------------
24 * \brief routine for JPEG decompression
25 * @param fp pointer to an already open file descriptor
26 * JPEG2000 encoded image
27 * @param image_buffer to receive uncompressed pixels
28 * @return 1 on success, 0 on error
29 * @warning : not yet made
32 bool gdcmFile::gdcm_read_JPEG2000_file (FILE* fp,void* image_buffer) {
34 (void)image_buffer; //FIXME
35 std::cout << "Sorry JPEG 2000 File not yet taken into account" << std::endl;
39 //-----------------------------------------------------------------------------