If you look near to the end of the clip below you can see the problem I am having with PrintImage. (Around 2min 40s in.)
When the picture is drawn it has a black background, however when saved with the PrintImage command the background is white.
I am not sure if this is something to do with the RenderImage being used for the screen sprite before drawing it to the buffer to then print the image but there are no issues when drawing if you see the clip.
Clear screen colour is set to black so not sure what I am doing or if there is a problem?
Section of code below for saving picture which is very similar to my Paint Pot save method with no problems however I don't use render images in Paint Pot, hence why I thought it might have been that.
ClearScreen()
SetSpritePosition(screen,GetScreenBoundsLeft(),GetScreenBoundsTop())
SetSpriteSize(screen, GetScreenBoundsRight()-GetScreenBoundsLeft(),GetScreenBoundsBottom()-GetScreenBoundsTop())
DrawSprite (screen)
Render()
GetImage(1,0,0,pageWidth,pageHeight)
PrintImage(1,100)
ClearScreen()
SetSpriteVisible(panel[1].iSprNum, 1)
DeleteImage(1)
[EDIT]
I thought maybe it was saving the image with transparency and the black turned white due to being on a white background however I have just checked this and the image is saved as a jpg image anyway and there is no transparency.
Also the main screen sprite has transparency turned off.
Puzzled