18 #ifndef itkPNGImageIO_h
19 #define itkPNGImageIO_h
20 #include "ITKIOPNGExport.h"
54 itkSetMacro(CompressionLevel,
int);
55 itkGetConstMacro(CompressionLevel,
int);
61 itkGetConstReferenceMacro(ColorPalette,
PaletteType);
67 virtual bool CanReadFile(
const char *) ITK_OVERRIDE;
70 virtual
void ReadImageInformation() ITK_OVERRIDE;
73 virtual
void Read(
void *buffer) ITK_OVERRIDE;
76 virtual
void ReadVolume(
void *buffer);
82 virtual
bool CanWriteFile(const
char *) ITK_OVERRIDE;
86 virtual
void WriteImageInformation() ITK_OVERRIDE;
90 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
94 ~PNGImageIO() ITK_OVERRIDE;
95 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
97 void WriteSlice(const std::
string & fileName, const
void *buffer);
101 int m_CompressionLevel;
106 ITK_DISALLOW_COPY_AND_ASSIGN(PNGImageIO);
110 #endif // itkPNGImageIO_h
Light weight base class for most itk classes.
Abstract superclass defines image IO interface.
std::vector< RGBPixelType > PaletteType
SmartPointer< Self > Pointer
ImageIO object for reading and writing PNG images.
RGBPixel< unsigned char > RGBPixelType
Represent Red, Green and Blue components for color images.
Control indentation during Print() invocation.