8 #ifndef PNGIMAGEWRITER_H
9 #define PNGIMAGEWRITER_H
14 struct png_struct_def;
15 struct png_info_struct;
16 struct png_color_struct;
18 LT_BEGIN_LIZARDTECH_NAMESPACE
113 struct png_struct_def *m_png;
114 struct png_info_struct *m_info;
115 struct png_color_struct *m_pct;
118 bool m_writeTransparencyColor;
124 char *m_errorMessage;
128 LT_END_LIZARDTECH_NAMESPACE
lt_uint32 LT_STATUS
An integral status code.
signed short lt_int16
signed 16-bit integer
unsigned int lt_uint32
unsigned 32-bit integer
signed int lt_int32
signed 32-bit integer
Represents a file or directory path.
class for writing geographic images to files or streams
abstract class for decoding from an image
representation of a scene
class to hold data passed between image stages
writes an image stage to a PNG file
LT_STATUS writeBegin(const LTIScene &scene)
void setScanlineFilter(ScanlineFilter filters)
LT_STATUS write(const LTIScene &scene)
LT_STATUS setAddAlphaBand(bool addAlpha)
If true, use the nodata pixel to build a alpha band.
LT_STATUS initialize(LTIImageStage *imageStage)
LT_STATUS writeStrip(LTISceneBuffer &stripBuffer, const LTIScene &stripScene)
encode one strip of the scene
ScanlineFilter
Set the compression filter method.
LT_STATUS writeEnd()
complete an encode (write) operation
void setCompressionLevel(lt_int16 level)
Set the library compression level.
LT_STATUS setPaletteSize(lt_uint32 size)
Will cause input buffer to have its colors quantized to the specified number of output colors.
LT_STATUS setWriteTransparencyColor(bool write)
If true, and the image has a transparency/nodata value, then this pixel value will be flagged as such...