ImageFileReader::Read

ImageFileReader::Read
virtual Image* Read(File* file, const ImageCreateArgs& args = ImageCreateArgs()) const;
Description

Read creates an image by reading data from the file and applying its arguments.

Parameters
Parameters 
Description 
File* file 
Pointer to the file from which the image is read. 
const ImageCreateArgs& args = ImageCreateArgs() 
Reference to ImageCreateArgs for image arguments. 
Return Value

An Image pointer to the created image. Returns null if the image could not be loaded.