Page 1 of 1

Webp export transparency

Posted: Mon Jul 12, 2021 12:04 pm
by rotiya
Am I missing some option? Because when I try to export a PNG to WebP, it loses its transparency.
using this tool with the same file, it retains transparency.
Image

Re: Webp export transparency

Posted: Tue Jul 13, 2021 12:04 pm
by xnview
i can't reproduce, with which file?

Re: Webp export transparency

Posted: Tue Jul 13, 2021 12:56 pm
by rotiya
xnview wrote: Tue Jul 13, 2021 12:04 pm i can't reproduce, with which file?
This file:
https://imgur.com/a/B7J38rb
If you open it in xnview, the background is transparent, but if you try to export to webp, it's no longer transparent.

Re: Webp export transparency

Posted: Wed Jul 14, 2021 3:00 am
by XnTriq
rotiya wrote: Tue Jul 13, 2021 12:56 pmThis file:
https://imgur.com/a/B7J38rb
If you open it in xnview, the background is transparent, but if you try to export to webp, it's no longer transparent.
Palette-based PNGs with an alpha channel have to be converted to truecolor with alpha channel in order for transparency to be preserved during export:
  • ImageChange color depth…32 bits

Re: Webp export transparency

Posted: Thu Jul 15, 2021 8:05 am
by xnview
:bugconfirmed: Thanks to your detailed description I can reproduce the problem.

Re: Webp export transparency

Posted: Mon Jul 19, 2021 4:23 am
by rotiya
xnview wrote: Thu Jul 15, 2021 8:05 am :bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Awesome!
Thank you.

Re: Webp export transparency

Posted: Thu Sep 16, 2021 12:20 pm
by xnview
This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.

Re: Webp export transparency

Posted: Sat Sep 18, 2021 12:45 am
by XnTriq
xnview wrote: Thu Sep 16, 2021 12:20 pmThis problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.
Fixed in XnView MP v0.99.0 64-bit :bugfixed: