Improve performance of ImageMagick thumbnail generation [closed]
Want to imp开发者_如何学JAVArove this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this questionI am currently generating thumbnails via ImageMagick's convert tool in this manner:
/usr/bin/convert input.jpg -size 140x93 -resize 740 -resize 186 \
-gravity center -crop 140x93+0+0 -format jpg -quality 90 jpg:output.jpg
But I feel like the conversion time is taking too long. It's about 5 seconds per thumbnail on an 8-core 2.5GHz Xeon. Is there any way I can optimize this or increase the performance while maintaining the crop and gravity center?
Thanks.
精彩评论