Option to remove alpha channel in screenshots

More
1 year 6 months ago #1 by brussell Option to remove alpha channel in screenshots was created 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
1 year 4 months ago - 1 year 4 months 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: 1 year 4 months ago by Daemonjax.

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

More
1 year 4 months ago - 1 year 4 months ago #3 by Tojkar Replied by Tojkar on topic Option to remove alpha channel in screenshots

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: 1 year 4 months ago by Tojkar.

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

More
1 year 4 months 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
1 year 3 months 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.

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.