WebP Lossless and WebP compressed

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

nadie4ever
Posts: 1
Joined: Tue Mar 05, 2019 10:41 am

WebP Lossless and WebP compressed

Post by nadie4ever »

Hello guys,
I'm new to the forum, but I could not find it. I'm converting a bunch of SVGs to PNG with rsvg-convert and then using nConvert to transform from those PNG to WEBP (lossless and losy).

So the line I'm using for WEBP 70%

Code: Select all

D:\wamp\www\wf3.pro\nconvert\nconvert -out webp -q 70 -i D:/wamp/www/wf3.pro/img/countries/ac/ad0/*.png
But I have no idea how to convert the same thing into lossless WEBP (which is NOT -q 100). This is what I came up, but I need confirmation that this is it

Code: Select all

D:\wamp\www\wf3.pro\nconvert\nconvert -out webp -c 0 -i D:/wamp/www/wf3.pro/img/countries/ac/ad0/*.png
User avatar
xnview
Author of XnView
Posts: 44883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: WebP Lossless and WebP compressed

Post by xnview »

please try

Code: Select all

-q -1
Pierre.
toodles
Posts: 8
Joined: Sat Feb 02, 2019 4:40 am

Re: WebP Lossless and WebP compressed

Post by toodles »

xnview wrote: Mon Mar 11, 2019 4:03 pm please try

Code: Select all

-q -1
Is there also an option for the compression method 1-6 similar to cwebp? Thanks