]> Creatis software - gdcm.git/blob - src/gdcmJpeg2000.cxx
* src/*.cxx : first parss to normalize file organisation
[gdcm.git] / src / gdcmJpeg2000.cxx
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmJpeg2000.cxx,v $
5   Language:  C++
6   Date:      $Date: 2005/02/01 10:29:55 $
7   Version:   $Revision: 1.17 $
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 "gdcmFileHelper.h"
20
21 #include <iostream>
22 #include <fstream>
23
24 namespace gdcm 
25 {
26 //-----------------------------------------------------------------------------
27  /**
28  * \brief   routine for JPEG decompression 
29  * @param fp pointer to an already open file descriptor 
30  *                      JPEG2000 encoded image
31  * @param image_buffer to receive uncompressed pixels
32  * @return 1 on success, 0 on error
33  * @warning : not yet made
34  */
35
36 bool gdcm_read_JPEG2000_file (std::ifstream* fp,void* image_buffer) {
37    (void)fp;                  //FIXME
38    (void)image_buffer;        //FIXME
39    std::cout << "Sorry JPEG 2000 File not yet taken into account" << std::endl;
40    return false;
41 }
42
43 //-----------------------------------------------------------------------------
44 } // end namespace gdcm
45