Recent

Author Topic: How to make a PNG with text and transparency;  (Read 17915 times)

jipété

  • Full Member
  • ***
  • Posts: 161
Re: How to make a PNG with text and transparency;
« Reply #15 on: May 29, 2024, 09:34:23 am »
Hello,

Code: Pascal  [Select][+][-]
  1.           Intf.TColors[i,j]:=Intf.TColors[i,j] or $FF000000;

With Linux/Debian 64bits FCP 3.2.2 Laz 3.2 and Gtk2, that line must be modified as
Code: Pascal  [Select][+][-]
  1.           Intf.TColors[i,j]:=Intf.TColors[i,j] or integer($FF000000);

If not, you'll get a RangeCheckError...
(not tried the previous code, must be the same)

HTH,

 

TinyPortal © 2005-2018