FileReader::CreateImageSource

FileReader::CreateImageSource
virtual ImageSource* CreateImageSource(File* file, const ImageCreateArgs& args, ExtraData* hdr, UInt64 len, bool withHeaders = false) const;
Description

CreateImageSource creates a temporary JPEG image.

Parameters
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. 
Return Value

The temporary image.