18 #ifndef itkJPEGImageIO_h
19 #define itkJPEGImageIO_h
20 #include "ITKIOJPEGExport.h"
50 itkSetMacro(Quality,
int);
51 itkGetConstMacro(Quality,
int);
55 itkSetMacro(Progressive,
bool);
56 itkGetConstMacro(Progressive,
bool);
63 virtual bool CanReadFile(
const char *) ITK_OVERRIDE;
66 virtual
void ReadImageInformation() ITK_OVERRIDE;
69 virtual
void Read(
void *buffer) ITK_OVERRIDE;
72 virtual
void ReadVolume(
void *buffer);
78 virtual
bool CanWriteFile(const
char *) ITK_OVERRIDE;
82 virtual
void WriteImageInformation() ITK_OVERRIDE;
86 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
90 ~JPEGImageIO() ITK_OVERRIDE;
91 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
93 void WriteSlice(std::
string & fileName, const
void *buffer);
103 ITK_DISALLOW_COPY_AND_ASSIGN(JPEGImageIO);
107 #endif // itkJPEGImageIO_h
ImageIO object for reading and writing JPEG images.
Light weight base class for most itk classes.
Abstract superclass defines image IO interface.
SmartPointer< Self > Pointer
Control indentation during Print() invocation.