开发者

Improve performance of ImageMagick thumbnail generation [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to imp开发者_如何学JAVArove this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

Improve this question

I 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜