Webp export transparency

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
rotiya
Posts: 8
Joined: Wed Jun 30, 2021 11:34 pm

Webp export transparency

Post 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
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Webp export transparency

Post by xnview »

i can't reproduce, with which file?
Pierre.
rotiya
Posts: 8
Joined: Wed Jun 30, 2021 11:34 pm

Re: Webp export transparency

Post 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.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Webp export transparency

Post 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
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Webp export transparency

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
rotiya
Posts: 8
Joined: Wed Jun 30, 2021 11:34 pm

Re: Webp export transparency

Post 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.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Webp export transparency

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.99.0. Please check and confirm the bug fix here.
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6336
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Webp export transparency

Post 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:
Post Reply