Advertisement
FoxWorn3365

Monitor_Image

May 3rd, 2021
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local monitor = peripheral.wrap("<monitor side>")
  2. local image = paintutils.loadImage("<path to image>")
  3. term.redirect(monitor)
  4. paintutils.drawImage(image, 1, 1) --or change 1,1 to the image location
  5. --Optional, to return text output to computer
  6. term.redirect(term.native())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement