virtual ImageSource* CreateImageSource(File* file, const ImageCreateArgs& args, ExtraData* hdr, UInt64 len, bool withHeaders = false) const = 0;
CreateImageSource creates a temporary JPEG image.
Parameters |
Description |
File* file |
Pointer to the input file from which the image is read. |
const ImageCreateArgs& args |
The image arguments, see ImageCreateArgs. |
ExtraData* hdr |
Additional information on jpeg headers.//Pointer to the ExtraData structure for storing additional information (headers or alpha channel) in jpeg. |
UInt64 len |
The length of the file. |
bool withHeaders = false |
A Boolean indicating whether the created image should have headers. |
The temporary image.