View Single Post
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#4
His compress doesn't actually compress, just codes everything as literal byte pairs.

I can't tell if I've got everything right (corner cases mainly since I've tested common things), but the attached will handle anything Python can accept to load as an image (which includes gif, png, jpg) and actually compress the output to logo-out.
Attached Files
File Type: gz im2pix.py.gz (751 Bytes, 108 views)
 

The Following 2 Users Say Thank You to tz1 For This Useful Post: