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