diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-03-09 17:38:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-03-23 17:21:58 +0300 |
commit | 7aab508e3273ae1762ae815bbecc8842938f0926 (patch) | |
tree | 94a0199e9eba3aea9da93cec1a4e053c2b61ffda /source/blender/blenkernel/BKE_image_save.h | |
parent | 51727fe86fdeb1f01552afdac5a5d7b7ad4453b5 (diff) |
Color Management: support different settings for render and compositing output
The Output Properties > Output panel now has a Color Management subpanel to
override scene settings. When set to Override instead of Follow Scene, there
are settings to:
* For OpenEXR, choose a (linear) colorspace for RGBA passes
* For other file formats, use different display/view/look/exposure/gamma
These settings affect animation render output, image save of renders and the
compositor file output node. Additionally, the image save operator and
compositor file output nodes also support overriding color management.
Includes some layout changes to the relevant panels to accomdate the new
settings and to improve consistency. Ideally subpanels would be used to better
organize these settings, however nodes and operators don't currently support
creating subpanels.
Differential Revision: https://developer.blender.org/D14402
Diffstat (limited to 'source/blender/blenkernel/BKE_image_save.h')
-rw-r--r-- | source/blender/blenkernel/BKE_image_save.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_image_save.h b/source/blender/blenkernel/BKE_image_save.h index f9d07387463..b022e677845 100644 --- a/source/blender/blenkernel/BKE_image_save.h +++ b/source/blender/blenkernel/BKE_image_save.h @@ -47,7 +47,7 @@ bool BKE_image_save(struct ReportList *reports, struct ImageUser *iuser, struct ImageSaveOptions *opts); -/* Lower level image writing. */ +/* Render saving. */ /* Save single or multilayer OpenEXR files from the render result. * Optionally saves only a specific view or layer. */ @@ -55,6 +55,7 @@ bool BKE_image_render_write_exr(struct ReportList *reports, const struct RenderResult *rr, const char *filename, const struct ImageFormatData *imf, + const bool save_as_render, const char *view, int layer); |