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