From b1e4817080b0cc301514dd0d885b19c2c2825c20 Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 21 Oct 2005 08:39:31 +0000 Subject: [PATCH] Comments --- Example/ReWrite.cxx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Example/ReWrite.cxx b/Example/ReWrite.cxx index 1aa4b8f9..bde09d1e 100644 --- a/Example/ReWrite.cxx +++ b/Example/ReWrite.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: ReWrite.cxx,v $ Language: C++ - Date: $Date: 2005/10/18 08:35:43 $ - Version: $Revision: 1.13 $ + Date: $Date: 2005/10/21 08:39:31 $ + 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 @@ -173,8 +173,8 @@ int main(int argc, char *argv[]) case 'D' : // Not documented in the 'usage', because the method case 'd' : // is known to be bugged. - // Writting a DICOM Implicit VR file - // from a full gdcm readable File + // Writting a DICOM Implicit VR file + // from a full gdcm readable File std::cout << "WriteDCM Implicit VR" << std::endl; fh->WriteDcmImplVR(outputFileName); @@ -186,7 +186,10 @@ int main(int argc, char *argv[]) // from a full gdcm readable File std::cout << "WriteDCM Explicit VR" << std::endl; - fh->WriteDcmExplVR(outputFileName); + // fh->WriteDcmExplVR(outputFileName); + // Try this one : + fh->SetWriteTypeToDcmExplVR(); + fh->Write(outputFileName); break; case 'R' : @@ -198,7 +201,7 @@ int main(int argc, char *argv[]) break; // Just for fun : - // Write a 'Videon inverse' version of the file/ + // Write a 'Video inverse' version of the file. // *Not* described, on purpose, in the USAGE case 'V' : -- 2.46.1