#include <pxl_imageexport.h>
Public Types | |
| enum | Compression { none = 0, zip = 1, lzw = 2, jpeg = 3 } |
| enum | Config { embedThumbnail = 1, pyramidEncoding = 2, binalizeOutput = 4, useImagesAsLayers = 8 } |
Public Member Functions | |
| TIFFExportParam (Compression inCompression=none, size_t inTileWidth=0, size_t inTileHeight=0, size_t inFlags=0, Endian inEndian=endianHost) | |
Public Attributes | |
| Compression | compression |
| The compression scheme. | |
| size_t | tileWidth |
| The width of each tile. | |
| size_t | tileHeight |
| The height of each tile. | |
| size_t | flags |
| Any combination of Config enumeration values. | |
| Endian | endian |
| Endian used in the TIFF file. | |
| double | binalizationThreshold |
| size_t | jpegQuality |
| bool | jpegUseYCbCr |
Definition at line 347 of file pxl_imageexport.h.
This enumeration defines the compression schemes.
Definition at line 352 of file pxl_imageexport.h.
This enumeration values define the options for TIFF encoder.
Definition at line 383 of file pxl_imageexport.h.
| Celartem::ExportUtils::TIFFExportParam::TIFFExportParam | ( | Compression | inCompression = none, |
|
| size_t | inTileWidth = 0, |
|||
| size_t | inTileHeight = 0, |
|||
| size_t | inFlags = 0, |
|||
| Endian | inEndian = endianHost | |||
| ) | [inline] |
This constructor initializes the structure.
| inCompression | The compression scheme. This is one of Compression enumeration values. | |
| inTileWidth | The width of each tile. If 0 is specified, the encoder automatically determine the tile size. If the value is equal to the image width, the encoder encodes the image as strip oriented image. | |
| inTileHeight | The height of each tile. If 0 is specified, the encoder automatically determine the tile size. | |
| inFlags | Any combination of Config enumeration values. | |
| inEndian | The endianness of the output TIFF file. It is one of Endian enumeration values. |
Definition at line 447 of file pxl_imageexport.h.
The compression scheme.
The compression scheme. This is one of Compression enumeration values.
Definition at line 364 of file pxl_imageexport.h.
The width of each tile.
The width of each tile. If 0 is specified, the encoder automatically determine the tile size. If the value is equal to the image width, the encoder encodes the image as strip oriented image.
Definition at line 372 of file pxl_imageexport.h.
The height of each tile.
The height of each tile. If 0 is specified, the encoder automatically determine the tile size.
Definition at line 378 of file pxl_imageexport.h.
Any combination of Config enumeration values.
Any combination of Config enumeration values.
Definition at line 399 of file pxl_imageexport.h.
Endian used in the TIFF file.
The endianness of the output TIFF file. It is one of Endian enumeration values.
Definition at line 405 of file pxl_imageexport.h.
Binalization threshold in [0.0 1.0].
This value is used only if binalizeOutput is specified to flag field.
Definition at line 412 of file pxl_imageexport.h.
For JPEG compression, you can specify the quality in 0-100.
The defaukt is 80.
Definition at line 418 of file pxl_imageexport.h.
For JPEG compression, whether to use YCbCr color model to reduce the JPEG size; this realizes almost same size to normal YCbCr JPEG.
The default is true.
Definition at line 426 of file pxl_imageexport.h.