X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Example%2FPrintFile.cxx;h=dcadfabde4387d18426c4ebff35af75fa4fab022;hb=3f8964856e65c2447beab900b04a63d003192bf9;hp=e9663b1bac7dfbce38db62114d656937f96ddf46;hpb=953a565e5b6e7364c9c2130658ef464cfe07ba8d;p=gdcm.git diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index e9663b1b..dcadfabd 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2005/11/05 13:26:19 $ - Version: $Revision: 1.69 $ + Date: $Date: 2005/11/07 10:38:56 $ + Version: $Revision: 1.70 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -269,16 +269,16 @@ int main(int argc, char *argv[]) pixelType = f->GetPixelType(); sPP = f->GetSamplesPerPixel(); - if (sPP == 3) - planarConfig = f->GetPlanarConfiguration(); - std::cout << " pixelType= [" << pixelType << "] SamplesPerPixel= [" << sPP << "] "; + if (sPP == 3) + { + planarConfig = f->GetPlanarConfiguration(); std::cout << " PlanarConfiguration= [" << planarConfig << "] "<< std::endl; - + } std::cout << " PhotometricInterpretation= [" << f->GetEntryString(0x0028,0x0004) << "] "<< std::endl;