I am finding that, in the event that my image path is invalid or the file is corrupt, the following code does not save the background from turning blue-green. Am I doing something wrong?
The note appears but the background is not salvaged.
if 0 ~= SetBackgroundImage(imgpath,13) then
ColourNote("yellow","red","Error loading background image.")
SetBackgroundImage("",0)
SetBackgroundColour(0x000000)
end
The note appears but the background is not salvaged.