PNG images with transparency to webp format

Ask for help and post your question on how to use XnView Classic.

Moderators: XnTriq, xnview

Post Reply
Aleksander
Posts: 2
Joined: Mon Sep 24, 2018 12:12 am

PNG images with transparency to webp format

Post by Aleksander » Mon Sep 24, 2018 12:16 am

I can not convert PNG images with transparency to webp format ... always getting white background, please help(( :(

User avatar
xnview
Author of XnView
Posts: 31006
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: PNG images with transparency to webp format

Post by xnview » Mon Sep 24, 2018 12:59 pm

is it 32bits?
Pierre.

Aleksander
Posts: 2
Joined: Mon Sep 24, 2018 12:12 am

Re: PNG images with transparency to webp format

Post by Aleksander » Mon Sep 24, 2018 3:47 pm

Hello sir, sorry for the delay ... it's 64 bits, well I do not know what's going on I love XnConvert only had this one problem with the software

User avatar
xnview
Author of XnView
Posts: 31006
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: PNG images with transparency to webp format

Post by xnview » Tue Sep 25, 2018 7:34 am

is it possible to send me the file?
Pierre.

ucsendre
Posts: 1
Joined: Thu Oct 18, 2018 12:01 pm

Re: PNG images with transparency to webp format

Post by ucsendre » Thu Oct 18, 2018 12:22 pm

Dear Pierre,

I have the same problem. I found that conversion gives unaccepteble results (white background instead of transparency, distorted edges) if the bitdepth of the input PNG file is not 24bpp (8bpp for example).
could you have a look at this please I would be more than grateful indeed.

Kind regards,
Endre
logo.png
The attached image is just an example, it only has 2 colors, so the distorted edges are the same in the resulting 24bpp webp format as in the original png.

User avatar
XnTriq
Moderator & Librarian
Posts: 5369
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: PNG images with transparency to webp format

Post by XnTriq » Thu Oct 18, 2018 10:00 pm

Welcome to the forum, ucsendre.

This is a known issue. Please make sure to increase the color to 32-bit before converting this kind of images.

Post Reply