[Lazarus] Error on compiling lazarus

hy-soft hy-soft at sha-mash.de
Sat Apr 26 11:03:12 CEST 2008


Hello,

  how i can read PNG image with transparency from file or resource?

  Currently i using code:

uses LazPng;
var
   img: TPngImage;
begin
     img:=TPngImage.Create;
     img.LoadFromFile('image.png');
...

  But when i save loaded image i realized that transparency in saved 
image is gone, or if i check property "img.Transparent" i got False.


  I using Lazarus svn 14975, Free Pascal Compiler version 2.2.0 
[2007/08/31] for i386


-- 
   Valdas Jankūnas



More information about the Lazarus mailing list