Structure defining any decode parameters defined for decoding the jpeg image. More...
#include "jpegapi.h"
Data Fields | |
size_t | size |
Size of this structure. More... | |
int32 | colortransform |
Definition of colorspace in absence of Adobe APPE tag. More... | |
Structure defining any decode parameters defined for decoding the jpeg image.
The JPEG implementation should copy the parameters provided in this structure into its own memory if needed for decoding.
int32 jpeg_decode_params::colortransform |
Definition of colorspace in absence of Adobe APPE tag.
This is the value of the ColorTransform entry in the DCTDecode filter dictionary (PLRM3). Value 0 indicates no transformation, value 1 indicates that three channel JPEGs should be transformed from YUV to RGB after decoding, four channel JPEGs should be transformed from YUVK to CMYK after decoding.
size_t jpeg_decode_params::size |
Size of this structure.
This must be set correctly so that parameters for new versions of the JPEG API will be set to sensible default values if linked with older clients.