diff options
-rw-r--r-- | source/blender/blenkernel/intern/sequencer.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c index f55cae7eaef..4f3ad50e294 100644 --- a/source/blender/blenkernel/intern/sequencer.c +++ b/source/blender/blenkernel/intern/sequencer.c @@ -1882,8 +1882,12 @@ static ImBuf * seq_render_scene_strip_impl( IMB_saveiff(imb, "/tmp/foo.image", IB_rect | IB_metadata); IMB_freeImBuf(imb); } */ - - } else if (rres.rect32) { + + /* float buffers in the sequencer are not linear */ + ibuf->profile= IB_PROFILE_LINEAR_RGB; + IMB_convert_profile(ibuf, IB_PROFILE_SRGB); + } + else if (rres.rect32) { ibuf= IMB_allocImBuf(rres.rectx, rres.recty, 32, IB_rect, 0); memcpy(ibuf->rect, rres.rect32, 4*rres.rectx*rres.recty); } |