virtual Image* ReadImage(File* file, const ImageCreateArgs& args = ImageCreateArgs()) const;
ReadImage attempts to read an image by first detecting its format and then using the appropriate image file handler. Returns 0 if failed.
Parameters |
Description |
File* file |
Pointer to the file from which the image is read. |
const ImageCreateArgs& args = ImageCreateArgs() |
Reference to ImageCreateArgs for image arguments. |