Mike Brittain
2010-03-11 22:04:18 UTC
I am planning to use GraphicsMagick to batch process our back stock of
images at Etsy (ahem, a few million images). The images are being shrunk
and cropped to fit 170x135. I have been testing the following set of
options:
/usr/bin/gm convert input.jpg -filter triangle -resize "170x135^" -gravity
Center \
-crop "170x135+0+0" -quality 90 -type TrueColor -interlace None output.jpg
Are there any options for "convert" that I am leaving out but should
consider using to improve the resize speed? I already ran a test of the
available filters on a sample set of images and found "triangle" to have the
best balance of image quality, speed, and smaller file sizes.
I'm using version 1.3.12.
Thanks,
Mike
P.S. John Allspaw recommended I check in here to get the best advice on
GraphicsMagick!
images at Etsy (ahem, a few million images). The images are being shrunk
and cropped to fit 170x135. I have been testing the following set of
options:
/usr/bin/gm convert input.jpg -filter triangle -resize "170x135^" -gravity
Center \
-crop "170x135+0+0" -quality 90 -type TrueColor -interlace None output.jpg
Are there any options for "convert" that I am leaving out but should
consider using to improve the resize speed? I already ran a test of the
available filters on a sample set of images and found "triangle" to have the
best balance of image quality, speed, and smaller file sizes.
I'm using version 1.3.12.
Thanks,
Mike
P.S. John Allspaw recommended I check in here to get the best advice on
GraphicsMagick!
--
Mike Brittain
Senior Software Engineer
Etsy.com
Mike Brittain
Senior Software Engineer
Etsy.com