]> Creatis software - gdcm.git/blobdiff - src/gdcmDocument.cxx
Port Mathieu's modif for writting JPEG2000
[gdcm.git] / src / gdcmDocument.cxx
index fbc717435e6030132b576b6619da0410fc71ded7..29fe967db0bc60fb16116434164cb954f11432f4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.cxx,v $
   Language:  C++
-  Date:      $Date: 2006/06/21 14:06:56 $
-  Version:   $Revision: 1.351 $
+  Date:      $Date: 2006/07/06 12:38:06 $
+  Version:   $Revision: 1.352 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -689,7 +689,7 @@ void Document::WriteContent(std::ofstream *fp, FileType filetype)
    // Skip if user wants to write an ACR-NEMA file
 
    if ( filetype == ImplicitVR || filetype == ExplicitVR ||
-        filetype == JPEG )
+        filetype == JPEG || filetype == JPEG2000 )
    {
       // writing Dicom File Preamble
       char filePreamble[128];