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

silvioprog silvioprog at gmail.com
Tue Feb 5 15:41:22 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.lazarus-ide.org/pipermail/lazarus/attachments/20130205/f29d0f6b/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imgdata.zip
Type: application/zip
Size: 62323 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130205/f29d0f6b/attachment-0003.zip>


More information about the Lazarus mailing list