18 #ifndef itkJPEGImageIO_h
19 #define itkJPEGImageIO_h
20 #include "ITKIOJPEGExport.h"
59 this->SetCompressionLevel(_JPEGQuality);
64 return this->GetCompressionLevel();
69 itkSetMacro(Progressive,
bool);
70 itkGetConstMacro(Progressive,
bool);
71 itkBooleanMacro(Progressive);
75 itkSetMacro(CMYKtoRGB,
bool);
76 itkGetConstMacro(CMYKtoRGB,
bool);
77 itkBooleanMacro(CMYKtoRGB);
85 CanReadFile(
const char *)
override;
89 ReadImageInformation()
override;
93 Read(
void * buffer)
override;
97 ReadVolume(
void * buffer);
104 CanWriteFile(
const char *)
override;
109 WriteImageInformation()
override;
114 Write(
const void * buffer)
override;
120 PrintSelf(std::ostream & os,
Indent indent)
const override;
123 WriteSlice(
const std::string & fileName,
const void *
const buffer);
125 bool m_Progressive{
true };
127 bool m_CMYKtoRGB{
true };
129 bool m_IsCMYK{
false };
133 #endif // itkJPEGImageIO_h