SHOW:
|
|
- or go back to the newest paste.
| 1 | os.loadAPI("GIF")
| |
| 2 | os.loadAPI("blittle")
| |
| 3 | ||
| 4 | local mon = peripheral.find("monitor")
| |
| 5 | mon.setTextScale(0.5) | |
| 6 | mon.setBackgroundColour(colors.black) | |
| 7 | mon.clear() | |
| 8 | ||
| 9 | - | local fileName = "GIFiro.gif" |
| 9 | + | local fileName = "Test/GIFiro.gif" |
| 10 | local x, y = mon.getSize() | |
| 11 | local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName))) | |
| 12 | blittle.draw(image, 10, 10, mon) | |
| 13 | ||
| 14 | - | local fileName = "CarteIro.gif" |
| 14 | + | local fileName = "Test/CarteIro.gif" |
| 15 | local x, y = mon.getSize() | |
| 16 | local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName))) | |
| 17 | blittle.draw(image, 100, 100, mon) |