paintutils.loadImage

Loads a Image from a File 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.loadImage("/picture.nfp")
paintutils.drawImage(pic)
    </nowiki>

paintutils.loadImage
Function
Syntax
paintutils.loadImage(
  • path : 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.