]> Creatis software - gdcm.git/blob - src/gdcmJpeg2000.cxx
ENH: Adding 'gdcm' namespace. Be nice with me this was a ~13000 lines patch. Also...
[gdcm.git] / src / gdcmJpeg2000.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmJpeg2000.cxx,v $
5   Language:  C++
6   Date:      $Date: 2004/10/12 04:35:46 $
7   Version:   $Revision: 1.12 $
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 //-----------------------------------------------------------------------------
19 #include "gdcmFile.h"
20
21 namespace gdcm 
22 {
23
24 //-----------------------------------------------------------------------------
25  /**
26  * \brief   routine for JPEG decompression 
27  * @param fp pointer to an already open file descriptor 
28  *                      JPEG2000 encoded image
29  * @param image_buffer to receive uncompressed pixels
30  * @return 1 on success, 0 on error
31  * @warning : not yet made
32  */
33
34 bool gdcm_read_JPEG2000_file (FILE* fp,void* image_buffer) {
35    (void)fp;                  //FIXME
36    (void)image_buffer;        //FIXME
37    std::cout << "Sorry JPEG 2000 File not yet taken into account" << std::endl;
38    return false;
39 }
40 } // end namespace gdcm
41
42 //-----------------------------------------------------------------------------
43