Program: gdcm
Module: $RCSfile: gdcmPixelWriteConvert.h,v $
Language: C++
- Date: $Date: 2007/05/23 14:18:11 $
- Version: $Revision: 1.9 $
+ Date: $Date: 2007/08/22 16:14:04 $
+ Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
-#ifndef GDCMPIXELWRITECONVERT_H
-#define GDCMPIXELWRITECONVERT_H
+#ifndef _GDCMPIXELWRITECONVERT_H_
+#define _GDCMPIXELWRITECONVERT_H_
#include "gdcmCommon.h"
#include "gdcmBase.h"
* \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;
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;
uint8_t *UserData;
/// Size of User image.
size_t UserDataSize;
+
+ /// Whether we want to write compressed or not
+ bool Compressed;
};
} // end namespace gdcm