]> Creatis software - gdcm.git/commitdiff
Prefixing filename by GDCM_DATA_ROOT should avoid serious troubles
authorjpr <jpr>
Mon, 25 Apr 2005 14:35:21 +0000 (14:35 +0000)
committerjpr <jpr>
Mon, 25 Apr 2005 14:35:21 +0000 (14:35 +0000)
Testing/TestMakeIcon.cxx

index 758016bd2996f28786246566d443d68d73dbf61d..1efc44e4c5ea8e429499d471d8df0da9392c6f77 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestMakeIcon.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/03/02 16:39:28 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2005/04/25 14:35:21 $
+  Version:   $Revision: 1.5 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 int TestMakeIcon (int argc, char *argv[])
 {
    // hard coded small image name
-   std::string input = "LIBIDO-8-ACR_NEMA-Lena_128_128.acr";
-   std::string output = "test.dcm";
+   std::string input = GDCM_DATA_ROOT;
+   input += "/"; 
+   input += "LIBIDO-8-ACR_NEMA-Lena_128_128.acr";
+
+   std::string output = "testIcon.dcm";
 
    gdcm::Debug::DebugOn();