Background image part of the API:
backgroundimg = { path = "", new = function(self) local new = {} setmetatable(new, {__index = self}) return new end, draw = function(self) local image = paintutils.loadImage(self.path) paintutils.drawImage(image, 1, 1) --line 232 AKA the error line end }
Program used:
local fBCD = fs.open("Boot/bcd.ini", "r") local bcd = textutils.unserialize(fBCD.readAll()) fBCD.close() os.loadAPI("DoorOS/apis/graphics") local splash = graphics.backgroundimg:new() splash.path = "Boot/bootscreen.npf" splash:draw() read()
Edited by Windows10User, 01 May 2018 - 09:50 AM.