paintutils.parseImage
Loads a Image from a string which can be drawn by paintutils.drawImage. You can create a Image with Paint.
|
|||
| Loads and draws a Image. | |||
| Code | <nowiki>
local pic = paintutils.parseImage("0123456789abcdef")
paintutils.drawImage(pic,1,1)
</nowiki>
|
||
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CC:Tweaked |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| paintutils.parseImage Function | |
|---|---|
|
Syntax paintutils.parseImage(
| |
| 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.