qiqian / webp

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

from png resize, same size is right, small size is wrong. #159

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. original pic: http://s.qdcdn.com/d/11273167.png
2. resize to 100*100 and 512*512 size, webp format.
3. two webp picture background color is diff. 512*512 size is right, 100*100 
size is wronng, background color is white.

http://s.qdcdn.com/cl/11273167,100,100.webp
http://s.qdcdn.com/cl/11273167,512,512.webp

What is the expected output? What do you see instead?
background color is transparency.

What version of the product are you using? On what operating system?
webp version is 0.3.1, Centos 64-bit Linux.

Original issue reported on code.google.com by gaochun...@gmail.com on 26 Jun 2013 at 10:39

GoogleCodeExporter commented 8 years ago
What command-line or function call did you use to produce the 100x100 resized 
input?

It works with cwebp 0.3.1 using:

libwebp-0.3.1/examples/cwebp 11273167.png -resize 100 100 -o test.webp

(see attached result 'test.webp')

(and same with -lossless option)

Original comment by pascal.m...@gmail.com on 26 Jun 2013 at 11:39

Attachments:

GoogleCodeExporter commented 8 years ago
marking as 'working as intended'. Please re-open if needed.

Original comment by pascal.m...@gmail.com on 21 Nov 2013 at 4:29