Hello!
for jpg I use:
convert ^
-quality 90 ^
-filter Lanczos ^
-sampling-factor 4:4:0 ^
-define jpeg:dct-method=float ^
for webp I use:
convert ^
-quality 60 ^
-define webp:lossless=false ^
Tell me, what parameters should I use for jpg and webp? can i miss something? I need better quality for the photo
webp and jpg - parameters for high-quality photos
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: webp and jpg - parameters for high-quality photos
What is wrong with the quality? Why not use "-quality 100"?caho wrote:I need better quality for the photo
JPG is 8 bits/channel/pixel, and is lossy (it changes pixel values). For best quality, don't use JPG.
I don't use WEBP and can't advise on it.
snibgo's IM pages: im.snibgo.com
Re: webp and jpg - parameters for high-quality photos
I need to use jpg and webp. need to.
I can set the quality to 100. But there are other parameters. I do not know what to exhibit there.
filter Lanczos? or is there a better option?
sampling-factor 4:4:0? or is there a better option?
and webp?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: webp and jpg - parameters for high-quality photos
You have not given full command lines for your processing. -filter lanczos does nothing unless you are resizing the image. Sorry, I am not an expert on jpg or webp arguments. And results may depend upon the input image. Perhaps you should try experimenting to see what gives you the best results.