[Lazarus] TImage and PNG (on linux)
Leonardo M. Ramé
l.rame at griensu.com
Tue Apr 12 20:24:55 CEST 2011
On 2011-04-12 20:18:48 +0200, Krzysztof wrote:
> So if you want operate on bitmaps and canvas then maybe it is better to
> read about BGRABitmap and do this same things which i'm doing in my
> components. This is very interesting class. You can load PNG image to this
> class and draw wherever you want similar like with canvas (but with
> alpha). Details:
> http://wiki.lazarus.freepascal.org/BGRABitmap
> and few tutorials (with nice effects):
> http://wiki.lazarus.freepascal.org/BGRABitmap_tutorial
> This is crossplatform library
>
You are right Krzysztof, in fact, I adapted my code to BGRABitmap and it
worked like a charm.
Just a note. I miss the LoadFromLazResource method, like TPicture. Do you plan
to add this feature?.
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the Lazarus
mailing list