paintutils.loadImage

From ComputerCraft
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

paintutils.loadImage
Function
Syntax
paintutils.loadImage()
Returns nil
API paintutils
Source CC:Tweaked (source)

Loads a Image from a File which can be drawn by paintutils.drawImage. You can create a Image with Paint.

ExampleExampleDraw a Image
Loads and draws a Image.
Code
local pic = paintutils.loadImage("/picture.nfp")
paintutils.drawImage(pic)