jaewonjoo / webp

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

cwebp output size report is wrong #126

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. convert any .png using cwebp -lossless

What is the expected output? What do you see instead?

At the end of the processing cwebp reports an output size in bytes, this output 
size does not match the real file size it is off by about 20 bytes (this is not 
constant).

What version of the product are you using? On what operating system?

cwebp 0.1.99 on Ubuntu 11.04

Original issue reported on code.google.com by cryo...@free.fr on 21 Jul 2012 at 3:49

GoogleCodeExporter commented 8 years ago
Hi,
Thanks for reporting this!

Basically what's going on is: cwebp is reporting 'full file size' in case of 
lossy compression; and 'file size excluding RIFF and VP8L headers' in case of 
lossless.

I'm going to correct this to make the behaviour consistent across 
lossy/lossless.

Original comment by urv...@google.com on 23 Jul 2012 at 5:30

GoogleCodeExporter commented 8 years ago
This has been fixed in change I96e2bf09 
[https://gerrit.chromium.org/gerrit/#change,28158]

Original comment by urv...@google.com on 23 Jul 2012 at 7:26