X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteDicomSimple.cxx;h=6954426a98ec751a5b594598b2bbcf300463f0fd;hb=74e3bc05fade5a18f193e7d1122c74756c0e689e;hp=8ffbade3a33e364f1d71609f6875d5a6ab153771;hpb=f2806c140be3061a45b62c4d3f3ef8870cb8882a;p=gdcm.git diff --git a/Example/WriteDicomSimple.cxx b/Example/WriteDicomSimple.cxx index 8ffbade3..6954426a 100644 --- a/Example/WriteDicomSimple.cxx +++ b/Example/WriteDicomSimple.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteDicomSimple.cxx,v $ Language: C++ - Date: $Date: 2004/12/10 08:34:07 $ - Version: $Revision: 1.2 $ + Date: $Date: 2004/12/10 16:48:37 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -130,7 +130,7 @@ int main(int argc, char* argv[]) std::string fileName = argv[1]; std::string mode = argv[2]; - file->SetWriteModeToDecompressed(); + file->SetWriteModeToRaw(); switch (mode[0]) { case 'a' : // Write an ACR file @@ -189,3 +189,4 @@ int main(int argc, char* argv[]) return 0; } +