Closed GoogleCodeExporter closed 9 years ago
Hi -
Can you please confirm which of these 4 webp images (generated via cwebp 4.0)
fail to open on Android 4.4.4
Following is the naming convention:
bad_ver.q.<noa>.webp - compressed at quality 'q' with cwebp version 'ver' after
stripping alpha.
bad_ver.q.webp - compressed at quality 'q' with cwebp version 'ver' retaining
the alpha channel.
Original comment by vik...@google.com
on 20 Nov 2014 at 6:20
Attachments:
BTW, I can open all these 4 webp images in my N5 (ver 5.0) in the G+ photos App
and also in the 'Downloads' app.
How are you opening these webp images in your Android device ?
Original comment by vikaas.a...@gmail.com
on 20 Nov 2014 at 6:26
Hi,
I am using an Android Canvas test app to open the image on device. It turned
out to be an issue in Skia.
This issue can be closed, thanks for your time.
While working on this issue, I noticed two things:
1) Cwebp 4.2 is generating slightly bigger Webp files as compared to Cwebp 4.0
and 4.1
2) Specifying "-lossless" option results in a smaller file as compared to q=85,
in all the 3 versions I tested - 4.0, 4.1 and 4.2.
Shall I raise separate issues for these or are they known issues ?
Original comment by so...@malhotraz.com
on 21 Nov 2014 at 9:12
Thanks for evaluating WebP for your project.
There was a change in the quality mapping for lossy WebP images post 4.0, so
it's not a surprise that you are getting little larger (2-5%).
The image that you uploaded corresponds to an icon and such images compresses
better with '-lossless' option. So no surprise there either.
Original comment by vik...@google.com
on 21 Nov 2014 at 11:41
Original comment by vikaas.a...@gmail.com
on 21 Nov 2014 at 11:42
Hi,
Thanks for your clarifications. Can you please provide more information about
this comment:
"The image that you uploaded corresponds to an icon and such images compresses
better with '-lossless' option. So no surprise there either. "
1) By Icon, do you mean the smaller widthxheight or transparent background or
both ?
I wish to put an automatic rule in my scripts to convert to either lossless
webp or "q=85" lossy webp, so any inputs from you will be really helpful. The
end goal is to have a smaller file size.
Thanks
Original comment by so...@malhotraz.com
on 25 Nov 2014 at 11:43
Original issue reported on code.google.com by
so...@malhotraz.com
on 20 Nov 2014 at 10:57Attachments: