paintutils.loadImage
From ComputerCraft Wiki
Revision as of 17:10, 4 December 2012 by AfterLifeLochie (Talk | contribs) (Reverted edits by 199.19.105.156 (talk) to last revision by AfterLifeLochie)
Function paintutils.loadImage | |
Loads an image created with the built in Advanced Computer program paint. | |
Syntax | paintutils.loadImage(( path )) |
Returns | True or false |
Part of | ComputerCraft |
API | paintutils |
Examples
Example | |
The program loads the image 'bar' onto the variable 'foo' and then shows it on screen: | |
Code |
foo = paintutils.loadImage("bar") paintutils.drawImage(foo) |