DCMTK
Version 3.6.2
OFFIS DICOM Toolkit
|
abstract interface to plugable image output formats. More...
Public Member Functions | |
virtual | ~DiPluginFormat () |
destructor (virtual) | |
virtual int | write (DiImage *image, FILE *stream, const unsigned long frame=0) const =0 |
write given image to a file stream (abstract) More... | |
Protected Member Functions | |
DiPluginFormat () | |
constructor (protected) | |
abstract interface to plugable image output formats.
This is an abstract base class used as an interface to support multiple plugable image output formats for the dcmimle/dcmimage library. An example implementation can be found in dcmjpeg/libsrc/dipijpeg.cc (JPEG plugin).
|
pure virtual |
write given image to a file stream (abstract)
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) |
Implemented in DiTIFFPlugin, DiPNGPlugin, and DiJPEGPlugin.