X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmPixelReadConvert.cxx;h=b25edb1c95de0877e34f3be9183a8b1104f1a0d7;hb=953a565e5b6e7364c9c2130658ef464cfe07ba8d;hp=c20ab64c1992e6182fbb0d67833efcf9cf6c3503;hpb=197dc522382e753249bcb2a75e22f61bd6d589b4;p=gdcm.git diff --git a/src/gdcmPixelReadConvert.cxx b/src/gdcmPixelReadConvert.cxx index c20ab64c..b25edb1c 100644 --- a/src/gdcmPixelReadConvert.cxx +++ b/src/gdcmPixelReadConvert.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmPixelReadConvert.cxx,v $ Language: C++ - Date: $Date: 2005/10/28 16:12:51 $ - Version: $Revision: 1.95 $ + Date: $Date: 2005/11/03 08:37:57 $ + Version: $Revision: 1.96 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -826,8 +826,6 @@ void PixelReadConvert::ConvertSwapZone() // 'ImplicitVR BigEndian PrivateGE Transfer Syntax', then GDCM needs to switch // the byte swapping code when entering the pixel data. -/* //Let me check something. - //I wait for the Dashboard ! if ( IsPrivateGETransferSyntax ) { // PrivateGETransferSyntax only exists for 'true' Dicom images @@ -842,7 +840,7 @@ void PixelReadConvert::ConvertSwapZone() break; } } -*/ + if ( BitsAllocated == 16 ) { uint16_t *im16 = (uint16_t*)Raw;