X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFile.cxx;h=2fe57fcc54bb20c9d5c34c4aac29f1ec156f5194;hb=948a61ee55f77597a187134c7699e3f2021226ba;hp=0d1072a0db2b98ae629aec819a1303f5b4a327bb;hpb=6a5de9524996d429cd18c722261421ff4e298681;p=gdcm.git diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index 0d1072a0..2fe57fcc 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2007/08/24 10:45:18 $ - Version: $Revision: 1.335 $ + Date: $Date: 2007/08/27 16:14:47 $ + Version: $Revision: 1.336 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1997,10 +1997,10 @@ bool File::Write(std::string fileName, FileType writetype) } /// \todo FIXME : Derma?.dcm does not have it...let's remove it ?!? JPRx - if( writetype != JPEG ) + if( writetype != JPEG && writetype != JPEG2000) { int i_lgPix = GetEntryLength(GrPixel, NumPixel); - if (i_lgPix != -2) + if (i_lgPix != -2) /// \todo wtf "-2" ?!? { // no (GrPixel, NumPixel) element std::string s_lgPix = Util::Format("%d", i_lgPix+12);