blob: fa037ea26ac597a759832e8edd69c223e8cd58fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
local framebuf = require("framebuf")
local fb = framebuf.new()
fb:ppm(fs.open("img/walter2.pnm","rb"))
local m = peripheral.wrap "bottom"
m.clear()
m.setTextScale(0.5)
local t = term.redirect(m)
local _, bee = pcall(function()
fb:present()
end)
term.redirect(t)
print(bee)
|