paintutils.loadImage
From ComputerCraft Wiki
Revision as of 13:59, 17 November 2012 by 118.209.145.175 (Talk)
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) |