Loads an image from file.
The file extension is used to determine to image format. The BMP (.bmp) and PNG (.png) formats are supported.
- Parameters
-
image | Receives the constructed image object. |
fileName | File path. |
allocator | Memory allocator (or kNULL for default). |
- Returns
- Operation status.