[magick-users] (small size) resize image for the web

Fred Weinhaus fmw at alink.net
Wed Jun 24 14:08:17 PDT 2009


try

convert image -thumbnail -quality XX -depth 8 -type palette result.jpg



or use gif and reduce the colors.

convert image -thumbnail -depth 8 -colors YY -type palette result.gif

where YY<256

-thumbnail is like -resize but strips the profiles and such.



>Hi,
>
>I am trying to resize some images to export them on a web site.
>
>The 'convert' command from image magick works well but the image size 
>resulting is pretty large:
>
>Starting from a 1.214 mb image, i resize it to get an icon 48x48 but 
>the result size of the icon is
>17Kb!!!  Is there a way to do better?


More information about the Magick-users mailing list