Page 1 of 1

Image Optimization

Posted: 2012-11-13T01:28:37-07:00
by annagot
I need to make from 3 JPG files a GIF file.
I need the GIF file to be very small (max 35k).
How do I perform the following actions:
Color reduction algorithm: Perceptual
Colors reduced to: 52
Dithering algorithm: Diffusion

These actions are done in photoshop and made it to a desired file size.
But in the meantime every action I do with ImageMagick by convert I did not produce the desired results, and my GIF file output is too big.

Thank you for the help.

Re: Image Optimization

Posted: 2012-11-14T17:14:02-07:00
by fmw42
I suspect that IM will not make small gif files and does not know about your perceptual color reductions and may be a bit slow. It tries to be as accurate in color reduction as possible.

See
http://www.imagemagick.org/Usage/quantize/#colors
http://www.imagemagick.org/script/quantize.php

Some speed enhancements may be had using -treedepth
http://www.imagemagick.org/script/comma ... #treedepth

You may be better off with other non-IM approaches. see
http://www.imagemagick.org/Usage/formats/#gif_non-im

Let us know what you find for results.