Diffusion Krita b5dcab4ffd35

Fixes a crash when saving exr files

Authored by jhoolmans on May 18 2018, 8:35 PM.

Description

Fixes a crash when saving exr files

Saving an 8-bit integer image to .exr when also flattening
layers turned on caused a crash. This was due to how the
colorspace conversion worked.

A copy layer of the flattened image was created and the image
was color converted after that. But the new layer was never
converted.

This fix will convert the colorspace before flattening.

Details

Committed
jhoolmansMay 18 2018, 8:35 PM
Parents
R37:0b44f43d92f3: Moved unmultiplyAlpha warning outside of the loop.
Branches
Unknown
Tags
Unknown