Replace transparent background to white

XnConvert Multi Platform - Windows, MacOSX, Linux
Post Reply
ertug
Posts: 5
Joined: Wed Feb 18, 2015 7:50 am

Replace transparent background to white

Post by ertug » Wed Feb 18, 2015 8:00 am

Hi, thank you for XnConvert. It saves lots of time of mine.

I can do most of my conversions with XnConvert but occasionally I experience a problem with images that have transparent background. I use change color depth action and set to 24 bits to remove transparency but some pictures got white, some got black background. I am not sure why it is random. Is there a way to force white background always? It seems I cannot use replace color action, because it lacks alpha.

My OS is Win 7 64 bits and I use XnConvert 1.66.

Thank you.

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

Re: Replace transparent background to white

Post by xnview » Wed Feb 18, 2015 8:17 am

could you send me original examples with black & white background after conversion?
Pierre.

ertug
Posts: 5
Joined: Wed Feb 18, 2015 7:50 am

Re: Replace transparent background to white

Post by ertug » Wed Feb 18, 2015 8:57 am

xnview wrote:could you send me original examples with black & white background after conversion?
Thank you for fast response. Here is two of them:

Image

Image

First has white second has black background. This album may be a clue for you: http://imgur.com/a/E0Gxb Please notice that first image has different 32 and 24 bits outputs, while second is all black.

Thank you.

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

Re: Replace transparent background to white

Post by xnview » Wed Feb 18, 2015 6:23 pm

ok, one file is 32bits, and the other is 8bits+transparency...
Pierre.

ertug
Posts: 5
Joined: Wed Feb 18, 2015 7:50 am

Re: Replace transparent background to white

Post by ertug » Wed Feb 18, 2015 6:40 pm

xnview wrote:ok, one file is 32bits, and the other is 8bits+transparency...
So if original image is 8bits with transparency, does XnConvert provide any way to blend transparent color with white? Changing color depth to 32bits first, does not work.

If not please consider adding an action handling transparency, eg. blending with a solid color. Thanks.

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

Re: Replace transparent background to white

Post by xnview » Thu Feb 19, 2015 4:06 pm

See Issue 603 for current status and details.
Pierre.

ertug
Posts: 5
Joined: Wed Feb 18, 2015 7:50 am

Re: Replace transparent background to white

Post by ertug » Fri Feb 20, 2015 2:48 pm

That's great. Looking forward for the next release. Thanks Pierre.

Post Reply