Diffusion Krita 98cfd438bfa0

Don't allocate a QImage that should be overwritten anyway

Authored by Mathias Wein <lynx.mw@gmail.com> on Aug 22 2019, 8:30 PM.

Description

Don't allocate a QImage that should be overwritten anyway

Instead, create a black image in case the conversion failed.
This currently happens in L*a*b color space at certain channel depths.

Details

Committed
Mathias Wein <lynx.mw@gmail.com>Sep 5 2019, 7:28 PM
Parents
R37:11c8d745bcf9: Correct size of memory allocation
Branches
Unknown
Tags
Unknown
Mathias Wein <lynx.mw@gmail.com> committed R37:98cfd438bfa0: Don't allocate a QImage that should be overwritten anyway (authored by Mathias Wein <lynx.mw@gmail.com>).Sep 5 2019, 7:28 PM