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