Inheritance diagram for DiPNGPlugin:
Public Member Functions | |
DiPNGPlugin () | |
constructor | |
virtual | ~DiPNGPlugin () |
destructor | |
virtual int | write (DiImage *image, FILE *stream, const unsigned long frame=0) const |
write given image to a file stream (PNG format) | |
void | setInterlaceType (DiPNGInterlace inter) |
set interlace type for PNG creation | |
void | setMetainfoType (DiPNGMetainfo minfo) |
set metainfo type for PNG creation | |
Static Public Member Functions | |
static OFString | getLibraryVersionString () |
get version information of the PNG library. | |
Private Attributes | |
DiPNGInterlace | interlaceType |
PNG interlace type. | |
DiPNGMetainfo | metainfoType |
PNG metainfo type. |
Definition at line 85 of file dipipng.h.
virtual int DiPNGPlugin::write | ( | DiImage * | image, | |
FILE * | stream, | |||
const unsigned long | frame = 0 | |||
) | const [virtual] |
write given image to a file stream (PNG format)
image | pointer to DICOM image object to be written | |
stream | stream to which the image is written (open in binary mode!) | |
frame | index of frame used for output (default: first frame = 0) |
Implements DiPluginFormat.
void DiPNGPlugin::setInterlaceType | ( | DiPNGInterlace | inter | ) |
set interlace type for PNG creation
inter | interlace type |
void DiPNGPlugin::setMetainfoType | ( | DiPNGMetainfo | minfo | ) |
set metainfo type for PNG creation
minfo | metainfo type |
static OFString DiPNGPlugin::getLibraryVersionString | ( | ) | [static] |
get version information of the PNG library.
Typical output format: "LIBPNG, Version 3.5.7"