When using the SafeToImageFile method all works fine for .png but all I get is a black square when choosing to save to .bmp or .jpg and I really need to be able to save to .jpg.
Have tried but that also will show the clear icon and the 'sign here' text. Not a good look. I need to place the graphic on a PDF created by an app I am developing. MakeScreenShot adopts the style colour of the signature control which in this case is slightly dark so signature is not very visible. The .png works perfectly .... isn't there a way to achieve same for .jpg?
Unfortunately this is default FMX TBitmap behavior, the codecs for Android don't support BMP (FMX.Graphics.TBitmapCodecManager - RAD Studio API Documentation). JPEG is supported but it takes the background as a parameter which is black by default. We'll investigate if we can implement a background color when exporting to JPEG. So, I would suggest to export to PNG, or export to a PNG stream, then redraw the stream onto a new bitmap, then save it to JPEG.
Thank you for your suggestion. When it comes to graphics I'm a bit of a fish out of water. Can you point me to any good examples of how to do this. Have spent a little time already on this but can't find any examples of png to jpg.....maybe I'm using wrong search parameters.