Posted by Ben Bacarisse on 02/15/06 19:29
On Wed, 15 Feb 2006 06:43:33 -0800, Socrates wrote:
> The image on our website is 500 x 375 pixels @ 145 kb. The same image
> converted to a string of characters (representing paletted colours between
> 0 -256) can be saved as a zipped text file of less than 2 kb with no loss
> in quality when the file is converted back to an image.
You are selling yourself short! Use a better compressor than zip.
Whatever magic encoding you use (and I use the word "magic" deliberately)
produces lots of repeated strings so the bzip2 utility can take your 110K
text encoded image and compress it to just 228 bytes (yes 228). Imagine
that, a 183K palleted image compressed to 228 bytes entirely without loss
of data. [Actually, zip compressed it to 892 so I don't know where your
2K comed from -- maybe you thought <1K would look suspicious?]
When is the CACM paper comming out? ;-)
--
Ben.
[Back to original message]
|