BlocksImageAPI (Made for my project - tde-desktop as optimization for wallpapers)
Example on TIER III graphics card:
Example on TIER II graphic card:
Example program code:
defX = 80
defY = 25
term = require("term")
setpos = term.setCursor
dofile("tde-apis")
gl.setResolution(defX,defY)
wallpaper = loadImage("tde-wallpaper")
setbg(0xFFFFFF)
xfill(1,1,defX,defY," ")
drawImage(wallpaper)
setbg(0x000000)
xfill(1,1,defX, 1, " ")
setpos(1,1)
write("[S] [Меню]")
This API have 2 functions:
loadImage(filepath : string)
drawImage(image : array of integer)
Pastebin Link (API