[Image-SIG] PNG Pixels to Hex/Binary

Rodrigo hyperspace at westnet.com.au
Mon May 26 19:14:34 CEST 2008

Hi all,


I've been trying to convert a line of pixels in PNG format, into a binary
file.  So if the first pixel is #ffff12 it will write the first part of the
filename.txt ffff12. if second pixel is #15dc3f it will write the next as
15dc3f.  So if I do a hex edit of filename.txt it will show "ffff1215dc3f".
Would appreciate your help in code for this.


Thanks :D

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/image-sig/attachments/20080527/c07d7bb6/attachment.htm>

More information about the Image-SIG mailing list