X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FexColorToRGB.cxx;h=5af2752e513e8999aa2d2a45bddd8f2a7d7dcced;hb=34e322ceb4e12797e6d4cb1e691a36425015d2e0;hp=05509fcc5084c05be90b7a9cc9fb23e9e5bae481;hpb=4d992954520d43c6f2fb555b7cd721574978c23a;p=gdcm.git diff --git a/Example/exColorToRGB.cxx b/Example/exColorToRGB.cxx index 05509fcc..5af2752e 100644 --- a/Example/exColorToRGB.cxx +++ b/Example/exColorToRGB.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exColorToRGB.cxx,v $ Language: C++ - Date: $Date: 2005/07/07 17:31:54 $ - Version: $Revision: 1.3 $ + Date: $Date: 2005/07/19 15:19:25 $ + 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 @@ -97,7 +97,9 @@ int main(int argc, char *argv[]) // ------ without Sequences ------------- - gdcm::FileHelper *copy = new gdcm::FileHelper( output ); + gdcm::FileHelper *copy = new gdcm::FileHelper( ); + copy->SetFileName( output ); + copy->Load(); gdcm::DocEntry *d = f->GetFirstEntry(); while(d)