paintutils.parseImage

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

ExampleDraw a Image
Loads and draws a Image.
Code
<nowiki>
local pic = paintutils.parseImage("0123456789abcdef")
paintutils.drawImage(pic,1,1)
    </nowiki>

paintutils.parseImage
Function
Syntax
paintutils.parseImage(
  • image : string
)

Returns nil
API paintutils
Source CC:Tweaked (source)
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.