upper jpeg quality, but looks worse

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
tczf1128
Posts: 28
Joined: 2018-12-04T22:47:49-07:00
Authentication code: 1152

upper jpeg quality, but looks worse

Post by tczf1128 »

I have a jpeg with 50 quality, when I convert it to webp and set quality to 90, the result looks worse. its why?

Code: Select all

convert zjb_origin.jpeg -quality 90% xx.webp
it is the origin jpeg, http://smellycat.oss-cn-hangzhou.aliyun ... rigin.jpeg
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: upper jpeg quality, but looks worse

Post by snibgo »

JPEG is a lossy format. This means the compression code changes the pixel values when the file is written. Lower quality number gives better compression but causes more change.

The data is lost. You can't get it back by reading the JPEG and saving the image to another format.
snibgo's IM pages: im.snibgo.com
tczf1128
Posts: 28
Joined: 2018-12-04T22:47:49-07:00
Authentication code: 1152

Re: upper jpeg quality, but looks worse

Post by tczf1128 »

thanks
Post Reply