Page 1 of 1

Remove alpha channel action?

Posted: Mon Nov 07, 2022 6:52 pm
by elfor
Hello world!

Could you please add "remove alpha channel" to actions? This:
Image

I wanted to batch remove the alpha channel from .TGA files, like doing "-alpha off" using imagemagick.

Edit: Or a secondary, only remove "single color alpha channel" feature! (not sure if that could be detected)

Thank you very much, long time user, first time poster.

Re: Remove alpha channel action?

Posted: Mon Nov 07, 2022 7:18 pm
by cday
I am not very knowledgeable on alpha, but you might check if you haven't already done so whether any of the options in available this action provide the functionality that you need:

Screenshot from 2022-11-07 19-14-10.png
Screenshot from 2022-11-07 19-14-10.png (34.63 KiB) Viewed 3676 times

Re: Remove alpha channel action?

Posted: Fri Jan 26, 2024 9:45 pm
by hy_boxwood
I need this action too, and I want to using it on 23,875 files in 1,729 folders, and "Change color depth- 24bits" can't do that, I put a file here maybe you can try it.
Orignal File:
Chap01_Prop_Under_LargeSign_02_PackAlbedoMetal.png
Remove alpha channel
Chap01_Prop_Under_LargeSign_02_PackAlbedoMetal2.png
Change color depth- 24bits
Chap01_Prop_Under_LargeSign_02_PackAlbedoMetal3.png

Re: Remove alpha channel action?

Posted: Sat Jan 27, 2024 5:20 am
by user0
dedicated action would be handy, meanwhile:
1. remove alpha channel
2. (optional) convert 32 to 24 bit
remove_alpha_channel.png

Re: Remove alpha channel action?

Posted: Thu Feb 01, 2024 7:46 am
by xnview
you have 'Clear transparent pixels' actions

Re: Remove alpha channel action?

Posted: Thu Feb 01, 2024 7:51 am
by user0
xnview wrote: Thu Feb 01, 2024 7:46 am you have 'Clear transparent pixels' actions
but this is not the same as "Remove alpha channel", not sure how it works at all :D
since it doesn't affect the OP and a few of my test files.

Re: Remove alpha channel action?

Posted: Thu Feb 01, 2024 9:07 am
by xnview
user0 wrote: Thu Feb 01, 2024 7:51 am but this is not the same as "Remove alpha channel", not sure how it works at all :D
not the same?

Re: Remove alpha channel action?

Posted: Thu Feb 01, 2024 9:23 am
by user0
xnview wrote: Thu Feb 01, 2024 9:07 am
user0 wrote: Thu Feb 01, 2024 7:51 am but this is not the same as "Remove alpha channel", not sure how it works at all :D
not the same?
nope. Try it on OP's file

Re: Remove alpha channel action?

Posted: Thu Feb 01, 2024 10:40 am
by xnview
right not the same. See issue for current status and some details.

Re: Remove alpha channel action?

Posted: Thu Feb 22, 2024 2:42 pm
by xnview
This problem is supposed to be fixed in XnView MP 1.6.5. Please check and confirm the bug fix here.

Re: Remove alpha channel action?

Posted: Thu Feb 22, 2024 3:33 pm
by user0
done in 1.6.5