qiqian / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

I can set the size and setting for cwebp #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I use cwebp for a test from the packing 
https://code.google.com/p/webp/downloads/detail?name=libwebp-0.1.3-windows-x86.z
ip

but I notice, whatever I changed the settings, the result is the same as well 
as the same size

I use this

cwebp -m 1 -f 10 -size 120000 5.png -o 5.webp

but the size still 78.9 KB

for test the same pic here 
https://developers.google.com/speed/webp/gallery1#reproducing

thanks

Original issue reported on code.google.com by real.fin...@gmail.com on 20 Jun 2012 at 1:33

GoogleCodeExporter commented 9 years ago
So are you saying that all of:
cwebp -m 6 -f 50 -size 31500 1.png -o 1.webp
cwebp -m 6 -f 20 -sns 100 -size 62000 2.png -o 2.webp
cwebp -m 6 -sns 90 -size 213000 3.png -o 3.webp
cwebp -m 6 -f 40 -size 181000 4.png -o 4.webp
cwebp -m 6 -f 40 -size 89000 5.png -o 5.webp

produce the same size?

If not what size are you referring to here in comparison to your command's 
output?

Original comment by jz...@google.com on 27 Jun 2012 at 6:03

GoogleCodeExporter commented 9 years ago
no.

I want to make size of 5.webp above bigger than 80 kb

because I want increase the quality.

Original comment by real.fin...@gmail.com on 30 Jun 2012 at 7:09

GoogleCodeExporter commented 9 years ago
Using more analysis passes should help (-pass), try 4 or so. This isn't perfect 
and modifying the starting quality with -q will also change the result.

Original comment by jz...@google.com on 9 Jul 2012 at 11:13

GoogleCodeExporter commented 9 years ago
This is working as intended.

Original comment by jz...@google.com on 9 Oct 2012 at 1:41