Implementation of a PNG plugin for the dcmimgle/dcmimage library.  
 More...
|  | 
|  | 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 
 | 
|  | 
| virtual | ~DiPluginFormat () | 
|  | destructor (virtual) 
 | 
|  | 
|  | 
| DiPNGInterlace | interlaceType | 
|  | PNG interlace type. 
 | 
|  | 
| DiPNGMetainfo | metainfoType | 
|  | PNG metainfo type. 
 | 
|  | 
| int | bitsPerSample | 
|  | bits per sample (8 or 16, default: 8) 
 | 
|  | 
|  | 
|  | DiPluginFormat () | 
|  | constructor (protected) 
 | 
|  | 
Implementation of a PNG plugin for the dcmimgle/dcmimage library. 
◆ getLibraryVersionString()
  
  | 
        
          | static OFString DiPNGPlugin::getLibraryVersionString | ( |  | ) |  |  | static | 
 
get version information of the PNG library. 
Typical output format: "LIBPNG, Version 3.5.7" 
- Returns
- name and version number of the PNG library 
 
 
◆ setInterlaceType()
      
        
          | void DiPNGPlugin::setInterlaceType | ( | DiPNGInterlace | inter | ) |  | 
      
 
set interlace type for PNG creation 
- Parameters
- 
  
  
 
 
◆ setMetainfoType()
      
        
          | void DiPNGPlugin::setMetainfoType | ( | DiPNGMetainfo | minfo | ) |  | 
      
 
set metainfo type for PNG creation 
- Parameters
- 
  
  
 
 
◆ write()
  
  | 
        
          | virtual int DiPNGPlugin::write | ( | DiImage * | image, |  
          |  |  | FILE * | stream, |  
          |  |  | const unsigned long | frame = 0 ) const |  | virtual | 
 
write given image to a file stream (PNG format) 
- Parameters
- 
  
    | 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) |  
 
- Returns
- true if successful, false otherwise 
Implements DiPluginFormat.
 
 
The documentation for this class was generated from the following file:
- dcmimage/include/dcmtk/dcmimage/dipipng.h