Recent

Author Topic: pl_Graphics32 Save  (Read 2059 times)

Dzandaa

  • Sr. Member
  • ****
  • Posts: 250
  • From C# to Lazarus
pl_Graphics32 Save
« on: July 07, 2021, 03:57:13 pm »
Hi,

I have this code using pl_Graphics32

MaskPicture: TBitmap32;
...

  if (MaskPicture = nil) then exit;
  if SavePicture.Execute then
  begin
      MaskPicture.SaveToFile(SavePicture.FileName);
  end;   

The picture is saved.
 I can't open it in Photoshop (the file format module cannot parse the file) , but I can in Affinity Photo.

Any Idea.

Also I try to install pl_Graphics32 on a Mac OS Sierra, but I have an error on compilation.

Thank you.

                                       
Dzandaa

circular

  • Hero Member
  • *****
  • Posts: 4217
    • Personal webpage
Re: pl_Graphics32 Save
« Reply #1 on: July 09, 2021, 01:49:22 pm »
Not sure but that may be related to the format used. Is it consistent with the file extension?
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018