]> Creatis software - gdcm.git/commitdiff
Uncomment Private GE transger syntax part.
authorjpr <jpr>
Fri, 21 Oct 2005 17:11:33 +0000 (17:11 +0000)
committerjpr <jpr>
Fri, 21 Oct 2005 17:11:33 +0000 (17:11 +0000)
(The trouble came from Write in the Mandatory elems processing
-free twice the same one :-( -

src/gdcmPixelReadConvert.cxx

index 3093f6abe0066b4cbeb6db749b9026e5684674a8..e941a07f61586ea1ce1f632831b24850098b89e0 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmPixelReadConvert.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/10/21 12:11:06 $
-  Version:   $Revision: 1.83 $
+  Date:      $Date: 2005/10/21 17:11:33 $
+  Version:   $Revision: 1.84 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -795,13 +795,7 @@ void PixelReadConvert::ConvertSwapZone()
    // 'ImplicitVR BigEndian PrivateGE Transfer Syntax', then GDCM needs to switch
    // the byte swapping code when entering the pixel data.
     
-
-// -->
-// --> Can't understand *why* TestWriteSimple fails sice this commit/
-// --> commented out, to be sure the troubles started from here.
-// --> JP
-/*   if ( IsPrivateGETransferSyntax )
+   if ( IsPrivateGETransferSyntax )
    {
       // PrivateGETransferSyntax only exists for 'true' Dicom images
       // we assume there is no 'exotic' 32 bits endianess!
@@ -815,7 +809,7 @@ void PixelReadConvert::ConvertSwapZone()
             break;
       }  
    }
-*/
+   
    if ( BitsAllocated == 16 )
    {
       uint16_t *im16 = (uint16_t*)Raw;