Option to remove alpha channel in screenshots
- brussell
- Topic Author
Less
More
3 years 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.)
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.
- Daemonjax
Less
More
3 years 4 months ago - 3 years 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.
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: 3 years 4 months ago by Daemonjax.
Please Log in or Create an account to join the conversation.
- Tojkar
Less
More
3 years 4 months ago - 3 years 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: 3 years 4 months ago by Tojkar.
Please Log in or Create an account to join the conversation.
- brussell
- Topic Author
Less
More
3 years 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.
- crosire
Less
More
3 years 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, 3DJ
Please Log in or Create an account to join the conversation.