Hi, guys.
Is it possible to overlay two bigger PNG images and then save result of this merge?
I have tried it already, but saved image is cropped because of smaller resolution of screen/window.
Images has resolution 1500x1500 pixels but my screen is only 3840x1024. The resulting image is cropped most likely because of size of backbuffer, or it is smaller because of AppGameKit is trying to fit it to the screen or window. (Depends of values of virtual resolution.)
Is there another possibility to solve this? Thanks for any idea.
SetWindowSize( 3840,1024,1,1)
SetVirtualResolution( 1500, 1500 ) // SetVirtualResolution( 3840, 1024)
SetResolutionMode( 1 )
LoadImage(1,"Image1.png")
LoadImage(2,"Image2.png")
spr1 = CreateSprite(1)
spr2 = CreateSprite(2)
clearScreen()
setSpritePosition(spr1,0,0)
setSpritePosition(spr2,0,0)
drawSprite(spr1)
drawSprite(spr2)
result = getImage(0,0,getSpriteWidth(spr1),getSpriteHeight(spr1))
clearScreen()
SaveImage(result,"Image3.png")