Option to remove alpha channel in screenshots

More
3 months 3 weeks ago #1 by brussell
Most of the time I use MSI Afterburner for taking screenshots, which doesn't/can't save the alpha channel. I prefer that, since the alpha channel generally isn't needed and just wastes disk space.
But there are cases where ReShade's screenshot function is the only choice. Hence an option, in additon to "ClearAlpha",  to disable/remove the alpha channel for screenshots would be appreciated.

(I know that one can easily remove it afterwards via batch/shell scripting, but it would be better if this wouldn't be necessary.)

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago - 2 months 1 week ago #2 by Daemonjax
Replied by Daemonjax on topic Option to remove alpha channel in screenshots
Reshade screenshots are saved in png, bmp, or jpg.

Only BMP even supports an alpha channel.

So switch it to save as PNG (which uses lossless compression).

I believe PNG is the default format anyways since it's clearly the best.
Last edit: 2 months 1 week ago by Daemonjax.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago - 2 months 1 week ago #3 by Tojkar

Only BMP even supports an alpha channel.
 


Not true. Jpg supports it too. It's just that almost no external editor supports using jpg's alpha channel and the compression algo is completely unfit for handling transparencies. But yeah, aside from technicalities the jpg alpha support not really worth even mentioning.
Last edit: 2 months 1 week ago by Tojkar.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #4 by brussell
Replied by brussell on topic Option to remove alpha channel in screenshots

Reshade screenshots are saved in png, bmp, or jpg.

Only BMP even supports an alpha channel.

So switch it to save as PNG (which uses lossless compression).

I believe PNG is the default format anyways since it's clearly the best.
 


Wrong. Of course PNG supports the alpha channel. And ReShade saves PNG-screenshots with it.

Please Log in or Create an account to join the conversation.

More
3 weeks 6 days ago #5 by crosire
Replied by crosire on topic Option to remove alpha channel in screenshots
Implemented in github.com/crosire/reshade/commit/e958a5...bb8acb8df8b9e94adcf0. The alpha channel is no longer stored in the screenshot image files when the "Clear alpha channel" option is checked. Saves some disk space.
The following user(s) said Thank You: brussell

Please Log in or Create an account to join the conversation.