X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWrite.cxx;h=0d1d32bc06a0591d3a21d0abff51a6d72de406ea;hb=31c63a6cb25b49a119e0132201c051ade2e17704;hp=492506bf4381575279c839dad3b4d177d8611e1f;hpb=ba78e6c6d47d6db1528e8e88e5ebde7296a26692;p=gdcm.git diff --git a/Example/Write.cxx b/Example/Write.cxx index 492506bf..0d1d32bc 100644 --- a/Example/Write.cxx +++ b/Example/Write.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: Write.cxx,v $ Language: C++ - Date: $Date: 2004/12/03 20:16:55 $ - Version: $Revision: 1.12 $ + Date: $Date: 2005/01/11 11:37:13 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -85,16 +85,16 @@ int main(int argc, char* argv[]) sPP = e1->GetSamplesPerPixel(); planarConfig = e1->GetPlanarConfiguration(); - std::cout << " pixelType=" << pixelType + std::cout << " pixelType=" << pixelType << " SampleserPixel=" << sPP << " PlanarConfiguration=" << planarConfig << " PhotometricInterpretation=" - << e1->GetEntryByNumber(0x0028,0x0004) + << e1->GetEntry(0x0028,0x0004) << std::endl; int numberOfScalarComponents=e1->GetNumberOfScalarComponents(); std::cout << "NumberOfScalarComponents " << numberOfScalarComponents <GetTransfertSyntaxName(); + transferSyntaxName = e1->GetTransferSyntaxName(); std::cout << " TransferSyntaxName= [" << transferSyntaxName << "]" << std::endl; /* if ( transferSyntaxName != "Implicit VR - Little Endian"