wrong quality setting of result when convert with thumbnail
Posted: 2014-09-23T02:20:17-07:00
when i convert a jpg file with thumbnail, the result quality setting resulting to fuzzy image, and if i set quality manually the result looks good.
so, i want to know how to get a suitable quality value when convert?
thanks.
remain is the image i test and how to reproduct it:
file: http://ztest.qiniudn.com/3SG0.jpg
the quality of original file is 22
convert with quality:
result file: http://ztest.qiniudn.com/q.jpg
convert without quality:
result file: http://ztest.qiniudn.com/nq.jpg
i have posted it in Users, but i think it is more suitable in Developers, sorry for dup post
so, i want to know how to get a suitable quality value when convert?
thanks.
remain is the image i test and how to reproduct it:
file: http://ztest.qiniudn.com/3SG0.jpg
the quality of original file is 22
convert with quality:
result file: http://ztest.qiniudn.com/q.jpg
Code: Select all
~/imagetest » convert 3SG0.jpg -thumbnail 357x -quality 100 q.jpg
~/imagetest » identify -verbose q.jpg| grep Quality
Quality: 100
result file: http://ztest.qiniudn.com/nq.jpg
Code: Select all
~/imagetest » convert 3SG0.jpg -thumbnail 357x nq.jpg
~/imagetest » identify -verbose nq.jpg | grep Quality
Quality: 22