Size of button images
Michael Sweet
mike at easysw.com
Fri Jul 20 07:25:10 PDT 2007
riopedre.tiscali wrote:
> I'm working in Spanish translation of CUPS (version 1.3b1).
>
> I had tested new script to generate 'automagically' buttons images few months ago and I want to use it for the new version now. But I have seen that the size of the files generated by this script has grown a lot. I have compared original buttons (in English) with new buttons generated by this script. Here we have a few examples:
>
> button-accept-jobs.gif 527 bytes (original) 1332 bytes (new)
> button-add-class.gif 484 bytes 838 bytes
> ..
> button-view-printable-version.gif 743 bytes 1592 bytes
> All the files (55) 66.7 KBytes 31.0 KBytes
>
> I have seen that original images have 32 colors palette and new images have 256.
>
> Is this feature intentional?
No, but probably a side-effect of ImageMagick's GIF writer.
Perhaps we can use another tool to re-compress the GIFs after
procesing? Or maybe send a feature request to the ImageMagick
folks to optimize their GIF output?
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list