teasame / webp

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

Android 4.1 can not display transparent Webp files(converted by cwebp) #147

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce the problem:

1.covert the attached transparent png file (png.png) to webp:

cwebp.exe -alpha_q 100 -o webp.webp png.png

2.open the generated webp.webp in Chrome, it can be shown.

3. open the webp.webp in Android, or using the attached simple project, you 
will find that Android can not display the webp file.  

[Note: the ImageTest.zip is a simple Android project. It loads png.png and 
webp.webp in its MainActivity. These two files exist in res\drawable-hdpi]

Does the webp codec in Android 4.1 support transparent webp file?

Thanks.

Original issue reported on code.google.com by zk.Talen...@gmail.com on 10 Apr 2013 at 6:04

Attachments:

GoogleCodeExporter commented 9 years ago
WebP support for transparent files was added in Android JB-MR2 (4.2) onwards.

Original comment by vikaas.a...@gmail.com on 10 Apr 2013 at 4:49

GoogleCodeExporter commented 9 years ago

Original comment by vikaas.a...@gmail.com on 10 Apr 2013 at 4:50