]> Creatis software - gdcm.git/blobdiff - src/gdcmFile.cxx
* SpuriousFile.raw removed...
[gdcm.git] / src / gdcmFile.cxx
index 88dcdf6a04a02a7ac6ad7fac2db59db677c6674a..9351047766c5a75de5e3a692d031e20527ff8682 100644 (file)
@@ -160,7 +160,7 @@ bool gdcmFile::ReadPixelData(void* destination) {
                 
   // ------------------------------- JPEG LossLess : call to Jpeg Libido
    
-   if (IsJPEGLossless() && GetZSize() == 1) {
+   if (IsJPEGLossless() /*&& GetZSize() == 1*/) {
    
       int ln; //  Position on begining of Jpeg Pixels
       fseek(fp,4,SEEK_CUR);  // skipping (fffe,e000) : Basic Offset Table Item
@@ -430,12 +430,6 @@ size_t gdcmFile::GetImageDataIntoVector (void* destination, size_t MaxSize) {
 // Just to 'see' was was actually read on disk :-(
 // Some troubles expected
 
-FILE *  fpSpurious;
-fpSpurious=fopen("SpuriousFile.raw","w"); 
-fwrite(destination,lgrTotale, 1,fpSpurious);
-fclose(fpSpurious);
-
-
    // *Try* to deal with the color
    // ----------------------------