virtual Image* Read(File* file, const ImageCreateArgs& args = ImageCreateArgs()) const;
Read creates an image by reading data from the file and applying its arguments.
Parameters |
Description |
File* file |
Pointer to the file from which the image is read. |
const ImageCreateArgs& args = ImageCreateArgs() |
Reference to ImageCreateArgs for image arguments. |
An Image pointer to the created image. Returns null if the image could not be loaded.