I assign a PNG image with transparency to the TImage component in Delphi XE8, used the sharesheet action to share this image. The successful result on my smartphone is now a JPEG image which loses all the transparency obviously. My transparent background now becomes black.
I need my images to retain its transparency, what do I do?
Here's my code:
var
ShareSheetForm: TShareSheetForm;
implementation
{$R *.fmx}
{$R *.LgXhdpiPh.fmx ANDROID}
procedure TShareSheetForm.ShowShareSheetAction1BeforeExecute(Sender: TObject);
begin
ShowShareSheetAction1.Bitmap.Assign(Image1.Bitmap);
end;
end.