3 ms·
Transparency on lossy compressed images is something that I really crave.
by danmaz74 13y ago
Transparency on lossy compressed images is something that I really crave.
- Too 13y agoIs the transparency channel also compressed or only the rgb?
- danmaz74 13y agoAlpha channel should be non-lossy compressed AFAIK.
- mnsc 13y ago"should" as in it's your opinion? From the docs it looks like the alpha channel can be encoded lossy as well. https://developers.google.com/speed/webp/docs/cwebp#options https://developers.google.com/speed/webp/docs/cwebp#options -alpha_q int Specify the compression factor for alpha compression between 0 and 100. Lossless compression of alpha is achieved using a value of 100, while the lower values result in a lossy compression. The default is 100.
- danmaz74 13y ago"should" as in "I remember reading something about it". Makes sense, if that's default. Anyway, thanks for pointing that out!
- TazeTSchnitzel 13y agoWebP's support for animation is also great. Like animated GIFs, but in true colour with VP8 compression and optional transparency!
- TD-Linux 13y agoIt's not really VP8 compression, as in the full video codec. But it's neat regardless.
- pornel 13y agoLossy transparency is possible already in a backwards-compatible way: please try http://pngquant.org http://pngquant.org (cross platform) or http://pngmini.com http://pngmini.com (Mac)