Skip to content

surface.load

CrazedProgrammer edited this page Apr 23, 2017 · 3 revisions

surface.load(strpath[, isstr])

  • strpath (string)
    The file path of the image, or the image data
  • isstr (bool)
    Whether strpath is the file path (false), or the image data (true)

Loads the image into a surface and returns it.
Supports:

Clone this wiki locally