[Lazarus] Extract the color data and alpha from a PNG image

silvioprog silvioprog at gmail.com
Tue Feb 5 15:36:58 CET 2013


Hello friends,

I'm trying to extract the color data and alpha from a PNG image. In PHP it
is very easy to implement, but in FPC I don't know how to do it. I tried to
do it via "chunk.data", "ZData" etc., but, without success.

Attached two files to test it. To test the PHP code run this command in
your terminal:

php -f fpdf.php

The in FPC code is partially complete.

Thank you!

ps. can ZData be public?

-- 
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130205/15bfae93/attachment-0002.html>


More information about the Lazarus mailing list