Blender Git Commit Log
Git Commits -> Revision 9e3e12f
Revision 9e3e12f by Sergey Sharybin (master) September 24, 2012, 11:56 (GMT) |
Proper fix for #32626: TIFF renders are limited to 8 bit even when we choose 16. Color management would be applied on both of float and byte buffers on image save in cases if file format doesn't require linear float buffer and if image is saving as render result. This solves both initial report issue and TODO marked in previous fix. Also de-duplicated image buffer color managing code and gave some more meaningful names for few functions. Also wrote documentation around this function, so current assumptions about spaces should be clear enough. Made regression tests by saving EXR/PNG images to all supported format and rendering OpenGL/Normal animation, in all cases seems everything is fine, but more tests for sure would be welcome. |
Commit Details:
Full Hash: 9e3e12fa4e2b9038314e3f2f690a908042b835fa
SVN Revision: 50843
Parent Commit: 5a5b37a
Lines Changed: +192, -128
13 Modified Paths:
/source/blender/blenkernel/BKE_image.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/image.c (+1, -2) (Diff)
/source/blender/compositor/operations/COM_OutputFileOperation.cpp (+3, -2) (Diff)
/source/blender/editors/render/render_opengl.c (+4, -4) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+3, -40) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+8, -2) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+6, -3) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+110, -34) (Diff)
/source/blender/imbuf/intern/jp2.c (+33, -18) (Diff)
/source/blender/imbuf/intern/tiff.c (+8, -2) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+6, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+8, -16) (Diff)
/source/blender/blenkernel/intern/image.c (+1, -2) (Diff)
/source/blender/compositor/operations/COM_OutputFileOperation.cpp (+3, -2) (Diff)
/source/blender/editors/render/render_opengl.c (+4, -4) (Diff)
/source/blender/editors/space_image/image_buttons.c (+1, -1) (Diff)
/source/blender/editors/space_image/image_ops.c (+3, -40) (Diff)
/source/blender/editors/space_sequencer/sequencer_draw.c (+8, -2) (Diff)
/source/blender/imbuf/IMB_colormanagement.h (+6, -3) (Diff)
/source/blender/imbuf/intern/colormanagement.c (+110, -34) (Diff)
/source/blender/imbuf/intern/jp2.c (+33, -18) (Diff)
/source/blender/imbuf/intern/tiff.c (+8, -2) (Diff)
/source/blender/makesrna/intern/rna_image_api.c (+6, -3) (Diff)
/source/blender/render/intern/source/pipeline.c (+8, -16) (Diff)