Hi @MM102, definitely a bug in the GraphicsContext:drawImage() function, but the version with srcRect and dstRect should work if the image (png) is in RGB mode:
onpaint=function(ev)
local gc = ev.context
local rc = img_logo.bounds
gc.blendMode = BlendMode.SRC_OVER
gc:drawImage(img_logo, rc, Rectangle(0, 0, rc.w, rc.h))
end
No progress about this one yet.