On 1.80 and earlier - "Change Color Depth 32bits Alpha 255" used to add pure white Alpha Channel.
On 1.82+ it does nothing.
If your image has alpha, and you simply convert it to 24bits it will look cutout.
In the past, it was possible to workaround it, by simply getting rid of Alpha Channel:
Converting it into full white 255, and then flattening it with 24 bits. Receiving a nice full image.
Now it's broken.
-
On 1.80:
Change Color Depth: 32 bits Alpha 255
Resize: 3k
ICC Convert
Canvas Resize: 3k x 3k , Alpha 255, Keep Ratio
Change Color Depth: 24 bits
Produces:
On 1.85:
Same settings produce:
XnConvert [1.82+]: Alpha channel problems
Moderators: XnTriq, helmut, xnview, Dreamer
-
- Posts: 21
- Joined: Wed Nov 20, 2019 2:09 pm
Re: XnConvert [1.82+]: Alpha channel problems
Change Color Depth is broken in 1.85.1.
But for my intended use, I managed to delete Alpha Channel by:
1. Create a full white image in any image editor and save it as GIF in XnConvert Mask directory:
On Mac: /Users/XXXXX/Desktop/XnConvert.app/Contents/Resources/AddOn/Masks/white.gif
2. In XnConvert Add action: "Add mask"
3. Navigate to the image you have created in the previous step:
e.g.: /Users/XXXXX/Desktop/XnConvert.app/Contents/Resources/AddOn/Masks/white.gif
2. Check "Use mask as Alpha"
4. Add "Change color depth"
5. Select "24 bits"
How do I invert the alpha channel of an image?
But for my intended use, I managed to delete Alpha Channel by:
1. Create a full white image in any image editor and save it as GIF in XnConvert Mask directory:
On Mac: /Users/XXXXX/Desktop/XnConvert.app/Contents/Resources/AddOn/Masks/white.gif
2. In XnConvert Add action: "Add mask"
3. Navigate to the image you have created in the previous step:
e.g.: /Users/XXXXX/Desktop/XnConvert.app/Contents/Resources/AddOn/Masks/white.gif
2. Check "Use mask as Alpha"
4. Add "Change color depth"
5. Select "24 bits"
How do I invert the alpha channel of an image?
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 21
- Joined: Wed Nov 20, 2019 2:09 pm
Re: XnConvert [1.82+]: Alpha channel problems
https://we.tl/t-ZrxYx0NkW0
I've included 3 files:
- 1x Original
- 1x generated with XnConvert 1.80:
Change Color Depth: 32 bits Alpha 255
Resize: 3k
ICC Convert
Canvas Resize: 3k x 3k , Alpha 255, Keep Ratio
Change Color Depth: 24 bits
- 1x generated with the same settings on XnConvert 1.85.1
Change Color Depth: 32 bits Alpha 255
Resize: 3k
ICC Convert
Canvas Resize: 3k x 3k , Alpha 255, Keep Ratio
Change Color Depth: 24 bits
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnConvert [1.82+]: Alpha channel problems
Sorry but the link has expired, could you post it again?
Pierre.
-
- Posts: 21
- Joined: Wed Nov 20, 2019 2:09 pm
Re: XnConvert [1.82+]: Alpha channel problems
Sorry for the delay.
https://we.tl/t-qaWu9DsCMY
All exported with the same settings:
Change Color Depth: 32 bits Alpha 255
Resize: 3k
ICC Convert
Canvas Resize: 3k x 3k , Alpha 255, Keep Ratio
Change Color Depth: 24 bits
https://we.tl/t-qaWu9DsCMY
All exported with the same settings:
Change Color Depth: 32 bits Alpha 255
Resize: 3k
ICC Convert
Canvas Resize: 3k x 3k , Alpha 255, Keep Ratio
Change Color Depth: 24 bits
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnConvert [1.82+]: Alpha channel problems
Thanks to your detailed description I can reproduce the problem.
Pierre.
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: XnConvert [1.82+]: Alpha channel problems
This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.
Pierre.
-
- Posts: 21
- Joined: Wed Nov 20, 2019 2:09 pm
Re: XnConvert [1.82+]: Alpha channel problems
Sorry for the late reply.xnview wrote: ↑Mon Dec 14, 2020 2:45 pm This problem is supposed to be fixed in XnView MP 0.98.0. Please check and confirm the bug fix here.
Can confirm it is fixed in XnConvert 1.90! Many thanks!