diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-09 03:16:35 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-09 03:16:35 +0300 |
commit | 04dec46c6a252a401a23c06ece2552f64cfc5892 (patch) | |
tree | d481504bf0db87f68869f1ffe23c61b7bf20b62c /source/blender/blenkernel/BKE_image.h | |
parent | e62e66fe8af97cb02ae69d6745bc7cc2daa6cb22 (diff) |
Color management fixes
Now it's a bit more robust, tagging images with profiles when they're loaded,
which then get interpreted later on by conversion functions. Just Linear RGB
and sRGB profiles at the moment, same as before.
This commit fixes Martin's problem with EXRs and Multilayer images loading/
saving too dark, and it also makes the sequence editor work correctly with it too.
Also fixes:
[#19647] gamma correction with color management is reset when resetting Curve
[#19454] 2.5: Dither does not work when Color management is enabled
Diffstat (limited to 'source/blender/blenkernel/BKE_image.h')
-rw-r--r-- | source/blender/blenkernel/BKE_image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_image.h b/source/blender/blenkernel/BKE_image.h index 7f18fb1624d..6b8d9d1768e 100644 --- a/source/blender/blenkernel/BKE_image.h +++ b/source/blender/blenkernel/BKE_image.h @@ -143,6 +143,9 @@ struct RenderPass *BKE_image_multilayer_index(struct RenderResult *rr, struct Im struct RenderResult *BKE_image_acquire_renderresult(struct Scene *scene, struct Image *ima); void BKE_image_release_renderresult(struct Scene *scene, struct Image *ima); +/* frees all ibufs used by any image datablocks */ +void BKE_image_free_image_ibufs(void); + /* goes over all textures that use images */ void BKE_image_free_all_textures(void); |