Image.load

Loads a surface from a file. Supported formats are described here: https://code.dlang.org/packages/imageformats

class Image
@trusted
load
(
string path
)

Parameters

path string

Relative or full path to the image file.

Meta