chickadee » kiwi » load-surface

load-surface DRIVER FILENAMEprocedure

Creates and returns a surface based on an image found at FILENAME. Supported image formats are the same as for the sdl2-image egg. If the image could not be loaded, an exception of the type (exn sdl2) is thrown.