paintutils.parseImage

From ComputerCraft
Jump to navigation Jump to search

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

Loads a Image from a string 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.parseImage("0123456789abcdef")
paintutils.drawImage(pic,1,1)