Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 6, 2007, 11:06 am
rate this thread
I use this code to test reducing number of image colors (image from
$p = new Image::Magick;
I use IrfanView to check number of colors (should be the same as
Get(colors) of Image::Magick). Number of *unique* colors has indeed
decreased from 256 to 64. But both Original Colors and Current Colors
reported by IrfanView are still "256 (8 BitsPerPixel)". Since I only
have 64 colors, how can I reduce bits per pixel to 6?
The real goal is to reduce file size by sacrificing some colors. Size
of original image pnglogo-blk-sml1.png is 17260. New image pnglogo-
sml12.png is 11049. Can this be reduced further?
- » SOAP::Lite - is Barnes and Noble web service still active?
- — Next thread in » PERL Modules Announcements
- » A lib Net::FTP question.(Transfer file to OpenVMS)
- — Previous thread in » PERL Modules Announcements