Did you know ... Search Documentation:
Predicate img_load/2
 img_load(+File:string, -Surface:blob) is det
Load an image file into a surface blob. File is the path to an image; the resulting format is auto-detected.
See also
- https://wiki.libsdl.org/SDL_image/IMG_Load