X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FTestWrite.cxx;h=d5b6fa15bb990aed875e1d28c982a6e793165c91;hb=75fe55c7b72932dac378a24e7315071bc0ac9af6;hp=0d7e1db4bb9012663e19214354196c7422f7d4f4;hpb=1d69b92978803204089d270599133917d944c651;p=gdcm.git diff --git a/Example/TestWrite.cxx b/Example/TestWrite.cxx index 0d7e1db4..d5b6fa15 100644 --- a/Example/TestWrite.cxx +++ b/Example/TestWrite.cxx @@ -1,3 +1,20 @@ +/*========================================================================= + + Program: gdcm + Module: $RCSfile: TestWrite.cxx,v $ + Language: C++ + Date: $Date: 2004/11/16 04:26:18 $ + Version: $Revision: 1.9 $ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ #include #include #include "gdcm.h" @@ -92,7 +109,7 @@ int main(int argc, char* argv[]) && transferSyntaxName != "Uncompressed ACR-NEMA" ) { std::cout << std::endl << "===========================================" << std::endl; - f1->ParsePixelData(); + f1->GetPixelConverter()->Print(); std::cout << std::endl << "===========================================" << std::endl; }