[fpc-devel] Re: Extract the color data and alpha from a PNG image

silvioprog silvioprog at gmail.com
Tue Feb 5 15:40:29 CET 2013


Oops, files attached.

2013/2/5 silvioprog <silvioprog at gmail.com>

> 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.freepascal.org/pipermail/fpc-devel/attachments/20130205/5fac56a9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imgdata.zip
Type: application/zip
Size: 62323 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20130205/5fac56a9/attachment.zip>


More information about the fpc-devel mailing list