X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpeg2000.cxx;h=3b0499bef8e1ee69028516968ae113a2c1795b7d;hb=f6fd616782f9811f1390c64c9a3e7beb50ca4a04;hp=2d60fe09b816bb6973715c8e4f65dcaf78ecc098;hpb=06c1c583239fdf5196260e6ef83a78669c1bd17f;p=gdcm.git diff --git a/src/gdcmJpeg2000.cxx b/src/gdcmJpeg2000.cxx index 2d60fe09..3b0499be 100644 --- a/src/gdcmJpeg2000.cxx +++ b/src/gdcmJpeg2000.cxx @@ -1,11 +1,38 @@ -// gdcmJpeg2000.cxx +/*========================================================================= + + Program: gdcm + Module: $RCSfile: gdcmJpeg2000.cxx,v $ + Language: C++ + Date: $Date: 2004/10/08 04:52:55 $ + Version: $Revision: 1.10 $ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ //----------------------------------------------------------------------------- -#include #include "gdcmFile.h" //----------------------------------------------------------------------------- -bool gdcmFile::gdcm_read_JPEG2000_file (FILE *fp,void * image_buffer) { - printf("Sorry JPEG 2000 File not yet taken into account\n"); + /** + * \ingroup gdcmFile + * \brief routine for JPEG decompression + * @param fp pointer to an already open file descriptor + * JPEG2000 encoded image + * @param image_buffer to receive uncompressed pixels + * @return 1 on success, 0 on error + * @warning : not yet made + */ + +bool gdcmFile::gdcm_read_JPEG2000_file (FILE* fp,void* image_buffer) { + (void)fp; //FIXME + (void)image_buffer; //FIXME + std::cout << "Sorry JPEG 2000 File not yet taken into account" << std::endl; return false; }