X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmJpeg2000.cxx;h=4a33f3a187ff71156ac3330aa1f3d65a6f0bb40e;hb=b8ce88766307f0197209797c4a1fc49a1045ad3a;hp=51f1b050c7f32b9bc8914c0b57dc75b7d3b4957b;hpb=5643fadddc60ed9986f21bddf1e1ed1d36f5d7a2;p=gdcm.git diff --git a/src/gdcmJpeg2000.cxx b/src/gdcmJpeg2000.cxx index 51f1b050..4a33f3a1 100644 --- a/src/gdcmJpeg2000.cxx +++ b/src/gdcmJpeg2000.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmJpeg2000.cxx,v $ Language: C++ - Date: $Date: 2005/06/07 20:23:13 $ - Version: $Revision: 1.24 $ + Date: $Date: 2005/07/05 20:58:27 $ + Version: $Revision: 1.25 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -35,6 +35,11 @@ namespace gdcm bool gdcm_read_JPEG2000_file (void* raw, char *inputdata, size_t inputlength) { +#if 0 + std::ofstream out("/tmp/jpeg2000.jpc"); + out.write((char*)inputdata,inputlength); + out.close(); +#endif jas_init(); //important... jas_stream_t *jasStream = jas_stream_memopen((char *)inputdata, inputlength);