Excellent, thanks for the help Anthony! The -map parameter
did exactly
what I needed, reducing the image size of the scaled version
while
maintaining an acceptable quality level.
In this case file size was important because I am processing
and storing
large numbers of images, but I understand how usually the
color table
expansion is desirable when scaling.
Thanks again,
Ben
Anthony Thyssen wrote:
>Ben Weintraub on wrote...
>| Sorry for replying to myself,
>|
>| I've figured out using the 'identify' command that the
scaled version
>| of the image has 256 colors, while the original only
has around 30.
>| Setting the -colors parameter manually to equal the
number of colors
>| in the original fullsize image results in a
significantly smaller
>| scaled image.
>|
>| Is there some way to tell convert to automatically
keep the same
>| number of colors in the resizing process?
>|
>You do NOT want that. Resizing images by default and
desirably, merges
>or blurs colors appropriateally to make the resized
image look sharp and
>good. Reducing the number of colors is ONLY used to
reduce disk space.
>
>If that is what you want, use -colors, but it will not
and should not be
>the default.
>
>Also by using -colors you many not get the smae color
set as the
>original image!!! If that is what is wanted you you
should use -map
>with the original images file name (or a saved copy in a
'mpr:'
>register) to define the 'reduced color table' for the
final image.
>
>This is one area that I have not expanded on in the IM
examples.
>
> Anthony Thyssen ( System Programmer )
<A.Thyssen griffith.edu.au>
>
------------------------------------------------------------
-----------------
> Cartoon Law III : Any body passing through solid
matter
> will leave a perforation conforming to its
perimeter.
>
------------------------------------------------------------
-----------------
> Anthony's Home is his Castle http://www.cit.gu.
edu.au/~anthony/
>_______________________________________________
>Magick-users mailing list
>Magick-users imagemagick.org
>http://studio.imagemagick.org/mailman/listinfo/magick
-users
>
>
_______________________________________________
Magick-users mailing list
Magick-users imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users
|