X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFileHelper.cxx;h=33807ec5cff62c055767344aa534cb6ff0e41ee7;hb=9852277ba03803d8ee9810413f30962a94c09ddd;hp=c12ae7b9e7a1a76fb17a230277430f44f00330f6;hpb=c7acfc8510646da68b92525cd638e14a42c62682;p=gdcm.git diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index c12ae7b9..33807ec5 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -4,8 +4,8 @@ Module: $RCSfile: gdcmFileHelper.cxx,v $ Language: C++ - Date: $Date: 2007/10/25 07:52:59 $ - Version: $Revision: 1.136 $ + Date: $Date: 2008/06/12 13:18:15 $ + Version: $Revision: 1.137 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -875,7 +875,14 @@ bool FileHelper::CheckWriteIntegrity() if ( abs((long)(decSize-userDataSize))>1) // ignore padding zero { gdcmWarningMacro( "Data size (Raw) is incorrect. Should be " - << decSize << " / Found :" + << decSize << "(" + << FileInternal->GetXSize() << " * " + << FileInternal->GetYSize() << " * " + << FileInternal->GetZSize() << " * " + << FileInternal->GetTSize() << " * " + << FileInternal->GetSamplesPerPixel() << " * " + << numberBitsAllocated / 8 + << ") / Found :" << userDataSize ); return false; }