]> Creatis software - gdcm.git/blobdiff - src/gdcmPixelWriteConvert.h
First step to sync with v 1.2.2
[gdcm.git] / src / gdcmPixelWriteConvert.h
index 59ddb91409bd1f2e71bf1e0d74d68f7d933c71fd..c71ff5c9d04fdfbb7a207388c0ccd165f3851863 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmPixelWriteConvert.h,v $
   Language:  C++
-  Date:      $Date: 2007/05/23 14:18:11 $
-  Version:   $Revision: 1.9 $
+  Date:      $Date: 2007/07/13 08:17:21 $
+  Version:   $Revision: 1.10 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -31,6 +31,7 @@ namespace GDCM_NAME_SPACE
  * \warning None of the methods may be called by end user (they have no
  *          meaning outside the class FileHelper)
  */
+class File;
 class GDCM_EXPORT PixelWriteConvert : public Base
 {
 friend class FileHelper;
@@ -57,6 +58,9 @@ private:
    uint8_t *GetData();
    size_t   GetDataSize();
 
+   void SetCompressJPEG2000UserData(uint8_t *data, size_t size, File *image);
+   void SetCompressJPEGUserData(uint8_t *data, size_t size, File *image);
+
 // Variables
    /// Pixel data represented as RGB after LUT color interpretation.
    uint8_t *ReadData;
@@ -67,6 +71,9 @@ private:
    uint8_t *UserData;
    /// Size of User image.
    size_t   UserDataSize;
+
+   /// Whether we want to write compressed
+   bool Compressed;
 };
 } // end namespace gdcm