Function load
Wraps IMG_Load
which loads an image from a filesystem path into a software dsdl2
Parameters
Name | Description |
---|---|
file | path to the image file |
Returns
dsdl2
of the loaded image
Throws
dsdl2
if failed to load the image