Screenshot image file format

  • Posts: 5
5 years 1 month ago #1 by Midhras
When taking screenshots at huge resolutions, they tend to become unwieldy if I have them output as PNG's. I can understand why PNG would be preferable for many, but I'd love to be able to optionally output to BMP's instead. If that is easy to implement, that is.

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

  • Posts: 3632
5 years 1 month ago #2 by crosire
Sure, I'll add that.
The following user(s) said Thank You: Wicked Sick, Midhras

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

  • Posts: 3632
5 years 1 month ago #3 by crosire
Starting with 0.12.0 it will be possible to change the screenshot file format by adding "#pragma reshade screenshot_format XXX" anywhere in the shader, where XXX can be "png" or "bmp" (currently). As shaders are hot-reloaded, it's also possible to change that setting while ReShade is running. Default if not specified will still be "png".

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

  • Posts: 5
5 years 1 month ago #4 by Midhras
Great stuff, crosire. Let me tell you: I'm having a ball with ReShade. Pure gaming awesomeness, this thing. Thanks for putting in the work.
The following user(s) said Thank You: crosire

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

  • Posts: 11
5 years 1 month ago #5 by Psychor

crosire wrote: Starting with 0.12.0 it will be possible to change the screenshot file format by adding "#pragma reshade screenshot_format XXX" anywhere in the shader, where XXX can be "png" or "bmp" (currently). As shaders are hot-reloaded, it's also possible to change that setting while ReShade is running. Default if not specified will still be "png".


Could you please provide a bit more information on this such as what file to edit. Thanks.

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

  • Posts: 3632
5 years 1 month ago #6 by crosire

Psychor wrote: Could you please provide a bit more information on this such as what file to edit. Thanks.

It's the same way statistics are enabled/disabled.
All ReShade settings are set using the "#pragma reshade ..." line, which is a preprocessor command that can be put anywhere in the shader file. In case of MasterEffect you can add it to ReShade.fx, for SweetFX you can add it to Sweet.fx or SweetFX_settings.txt or ReShade_settings.txt or Main.h or any other file included and used. Wherever you see it fit =)
The following user(s) said Thank You: Psychor, Midhras

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

  • Posts: 11
5 years 1 month ago #7 by Psychor

crosire wrote:

Psychor wrote: Could you please provide a bit more information on this such as what file to edit. Thanks.

It's the same way statistics are enabled/disabled.
All ReShade settings are set using the "#pragma reshade ..." line, which is a preprocessor command that can be put anywhere in the shader file. In case of MasterEffect you can add it to ReShade.fx, for SweetFX you can add it to Sweet.fx or SweetFX_settings.txt or ReShade_settings.txt or Main.h or any other file included and used. Wherever you see it fit =)


Thank you.

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

  • Posts: 58
5 years 3 weeks ago #8 by CeeJay.dk

crosire wrote: All ReShade settings are set using the "#pragma reshade ..." line, which is a preprocessor command that can be put anywhere in the shader file. In case of MasterEffect you can add it to ReShade.fx, for SweetFX you can add it to Sweet.fx or SweetFX_settings.txt or ReShade_settings.txt or Main.h or any other file included and used. Wherever you see it fit =)


I added this option to ReShade_settings.txt
The following user(s) said Thank You: crosire

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