teasame / webp

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

JPG->WebP conversion inflates a certain image #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. cwebp -q 70 orig.jpg -o output.webp

What is the expected output? What do you see instead?
I expect the output image to be smaller than its JPEG equivalent. I see that it 
is bigger.

What version of the product are you using? On what operating system?
libwebp-0.1.3 on 64 bit Ubuntu 11.04

Please provide any additional information below.

Original issue reported on code.google.com by yoav.wei...@gmail.com on 12 Oct 2011 at 3:11

Attachments:

GoogleCodeExporter commented 9 years ago
orig.jpg was encoded at quality 50. Specifying a larger value for webp will 
almost always generate a larger file.
$ cjpeg -q 70 -outfile orig-70.jpg orig.ppm
Will achieve the same effect.

Similarly in video compression if you specify a higher bitrate than the source 
the output will be larger as well.

Original comment by jz...@google.com on 17 Oct 2011 at 9:09