Skip to content
Tangent 128 edited this page Mar 28, 2015 · 3 revisions

image.load

Load an image a surface from a file.

Function

SYNOPSIS

s, err = function image.load(path)

ARGUMENTS

  • path, the path to the file

RETURNS

  • s, the surface or nil on failure (see Surface)
  • err, the error message
Clone this wiki locally