View difference between Paste ID: hiAZ7LA6 and 7iRQrqcf
SHOW: | | - or go back to the newest paste.
1
os.loadAPI("Test/GIF")
2
os.loadAPI("Test/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 = "Test/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)
12+
--blittle.draw(image, 10, 10, mon)
13
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)
17+
blittle.draw(image, 10, 10, mon)