Page 1 of 1

How to output a lossless webp image?

Posted: 2014-04-01T01:43:15-07:00
by mortoray
How can I tell `convert` that I want a lossless WEBP file as output? It looks like it always uses lossy mode.

Re: How to output a lossless webp image?

Posted: 2014-04-01T02:06:43-07:00
by dlemstra
You should use:

Code: Select all

convert input.png -define webp:lossless=true output.webp
You can find more options on this page: http://www.imagemagick.org/script/webp.php.