Implementation of a TIFF plugin for the dcmimgle/dcmimage library.  
 More...
|  | 
|  | DiTIFFPlugin () | 
|  | constructor 
 | 
|  | 
| virtual | ~DiTIFFPlugin () | 
|  | destructor 
 | 
|  | 
| virtual int | write (DiImage *image, FILE *stream, const unsigned long frame=0) const | 
|  | write given image to a file stream (TIFF format) 
 | 
|  | 
| void | setCompressionType (DiTIFFCompression ctype) | 
|  | set compression type for TIFF creation 
 | 
|  | 
| void | setLZWPredictor (DiTIFFLZWPredictor pred) | 
|  | set predictor type for LZW compression 
 | 
|  | 
| void | setRowsPerStrip (unsigned long rows=0) | 
|  | set rows per strip for TIFF creation. 
 | 
|  | 
| virtual | ~DiPluginFormat () | 
|  | destructor (virtual) 
 | 
|  | 
|  | 
| DiTIFFCompression | compressionType | 
|  | TIFF compression type. 
 | 
|  | 
| DiTIFFLZWPredictor | predictor | 
|  | TIFF predictor type. 
 | 
|  | 
| unsigned long | rowsPerStrip | 
|  | TIFF rows per strip. 
 | 
|  | 
|  | 
|  | DiPluginFormat () | 
|  | constructor (protected) 
 | 
|  | 
Implementation of a TIFF plugin for the dcmimgle/dcmimage library. 
◆ getLibraryVersionString()
  
  | 
        
          | static OFString DiTIFFPlugin::getLibraryVersionString | ( |  | ) |  |  | static | 
 
get version information of the TIFF library. 
Typical output format: "LIBTIFF, Version 3.5.7" 
- Returns
- name and version number of the TIFF library 
 
 
◆ setCompressionType()
      
        
          | void DiTIFFPlugin::setCompressionType | ( | DiTIFFCompression | ctype | ) |  | 
      
 
set compression type for TIFF creation 
- Parameters
- 
  
  
 
 
◆ setLZWPredictor()
      
        
          | void DiTIFFPlugin::setLZWPredictor | ( | DiTIFFLZWPredictor | pred | ) |  | 
      
 
set predictor type for LZW compression 
- Parameters
- 
  
  
 
 
◆ setRowsPerStrip()
      
        
          | void DiTIFFPlugin::setRowsPerStrip | ( | unsigned long | rows = 0 | ) |  | 
      
 
set rows per strip for TIFF creation. 
- Parameters
- 
  
    | rows | rows per strip. By default (value 0), rows per strip is calculated automatically such that each strip contains about 8 kByte of data. |  
 
 
 
◆ write()
  
  | 
        
          | virtual int DiTIFFPlugin::write | ( | DiImage * | image, |  
          |  |  | FILE * | stream, |  
          |  |  | const unsigned long | frame = 0 ) const |  | virtual | 
 
write given image to a file stream (TIFF 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/dipitiff.h