<div dir="ltr">Hello friends,<div><br></div><div>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.</div>
<div><br></div><div>Attached two files to test it. To test the PHP code run this command in your terminal:</div><div><br></div><div>php -f fpdf.php<br clear="all"><div><br></div><div>The in FPC code is partially complete.</div>
<div><br></div><div>Thank you!</div><div><br></div><div>ps. can ZData be public?</div></div><div><br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div>