]> Creatis software - gdcm.git/blobdiff - src/gdcmPixelReadConvert.cxx
2005-01-12 Jean-Pierre Roux <jpr@creatis.univ-lyon1.fr>
[gdcm.git] / src / gdcmPixelReadConvert.cxx
index 798d0ce3c0ef565fd219c9233f4fdff1a69d64c0..9ef62cd05b34fabe0e113d1bc2cfb20b400757ad 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmPixelReadConvert.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/11 23:26:55 $
-  Version:   $Revision: 1.23 $
+  Date:      $Date: 2005/01/12 15:22:23 $
+  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
@@ -169,7 +169,7 @@ void PixelReadConvert::ReadAndDecompress12BitsTo16Bits( std::ifstream *fp )
 
 /**
  * \brief     Try to deal with RLE 16 Bits. 
- *            We assume the RLE has allready been parsed and loaded in
+ *            We assume the RLE has already been parsed and loaded in
  *            Raw (through \ref ReadAndDecompressJPEGFile ).
  *            We here need to make 16 Bits Pixels from Low Byte and
  *            High Byte 'Planes'...(for what it may mean)
@@ -324,12 +324,10 @@ void PixelReadConvert::ConvertSwapZone()
          case 3412:
          case 2143:
          case 4321:
-#ifndef GDCM_WORDS_BIGENDIAN
             for( i = 0; i < RawSize / 2; i++ )
             {
                im16[i]= (im16[i] >> 8) | (im16[i] << 8 );
             }
-#endif //GDCM_WORDS_BIGENDIAN
             break;
          default:
             gdcmVerboseMacro("SwapCode value (16 bits) not allowed.");