[magick-users] (small size) resize image for the web
Stephane Brossier
stephane at ning.com
Wed Jun 24 13:07:09 PDT 2009
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?
I tried to lower the quality and use sampling-factor but the size is
still very large:
$ convert -resize 48x48 -sampling-factor 4x1 -quality 40 -antialias
example.jpg result.jpg
$ identify example.jpg
example.jpg JPEG 2304x2304 2304x2304+0+0 8-bit DirectClass 1.214mb
$ identify result.jpg
result.jpg JPEG 48x48 48x48+0+0 8-bit DirectClass 17.1kb
Besides i heard there is way to get good results using photoshop
'export for the web'.
Is there a way to mimic that with imagemagick?
Thanks!
S.
More information about the Magick-users
mailing list