Bug 347959

Summary: Gaussian blur broken with 32-bit float images
Product: [Applications] krita Reporter: Jonathan Ringstad <jwringstad>
Component: FiltersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: griffinvalley, raghu
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jonathan Ringstad 2015-05-19 16:15:32 UTC
Gaussian Blur (and maybe others?) creates artefacts when using it with 32-bit float documents.

Example:

https://dl.dropboxusercontent.com/u/21559589/krita-bug/1.png (unblurred image)
https://dl.dropboxusercontent.com/u/21559589/krita-bug/2.png (gaussian blur dialog with preview on, note how the image is weirdly desaturated)
https://dl.dropboxusercontent.com/u/21559589/krita-bug/3.png (more drastic artefacts)

When applying the filter, the artefacts actually appear in the document, so this is not just a visual issue with the filter preview.

The colorspace used was scRGB, but I seem to be able to re-produce similar-looking errors with other colorspaces.

Example document to re-produce the issue (simply run a gaussian blur filter over it and mess around with the radius sliders for a while):

https://dl.dropboxusercontent.com/u/21559589/krita-bug/gaussian-blur-bug.kra

In particular, moving the radius sliders down to zero and then back up to some non-zero value seems to produce very strong artefacts.

Reproduced with a build from the latest calligra/2.9 branch.

Reproducible: Always
Comment 1 wolthera 2015-05-20 19:42:36 UTC
yeah, this has been broken since the multiple transform masks handling back in... march?.
Comment 2 Raghavendra kamath 2018-08-10 05:03:07 UTC
Hi Jonathan,

Can you please check if this bug is still reproducible in the latest version of Krita. The files that you have linked have expired so i couldn't check it with your test file. I tried to do a gaussian blur on a 32 bit float image but all seemed okay for me.

For now i am going to close this bug report due to lack of reply and activity, if you think this bug is still present please feel free to re-open the bug report and  also please attached the kra file here it self.

thank you