Difference between revisions of "Paintutils.parseImage"

From ComputerCraft
Jump to navigation Jump to search
(Created page with "{{API doc function | name = paintutils.parseImage | description = Loads a Image from a {{type|string}} which can be drawn by paintutils.drawImage. You can create a Image w...")
 
(No difference)

Latest revision as of 17:03, 23 March 2020

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)