Bug 456269 - GMIC:The result of "relief light" is different from the preview
Summary: GMIC:The result of "relief light" is different from the preview
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: G'Mic for Krita (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: amyspark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-03 09:44 UTC by thetwo
Modified: 2022-07-20 22:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
bug (1.04 MB, video/mp4)
2022-07-03 09:44 UTC, thetwo
Details
pic (2.02 MB, image/png)
2022-07-04 22:55 UTC, thetwo
Details
CImg saved result (2.07 MB, image/png)
2022-07-20 22:19 UTC, amyspark
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thetwo 2022-07-03 09:44:50 UTC
Created attachment 150359 [details]
bug

krita-nightly-x64-5.2.0-prealpha-2130f06ac8
1.Use the "relief light" filter on a picture
2.turn off "opacity as heightmap"
Comment 1 amyspark 2022-07-04 22:49:02 UTC
Cannot reproduce with G'MIC 3.1.5 (commit 06d2048) and Krita 5.2.0 prealpha (commit 76a9e434dd).

Can you send the file or image you were working with?
Comment 2 thetwo 2022-07-04 22:55:01 UTC
Created attachment 150399 [details]
pic
Comment 3 Bug Janitor Service 2022-07-05 04:36:46 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 4 amyspark 2022-07-20 22:19:29 UTC
Created attachment 150779 [details]
CImg saved result

I was able to reproduce this bug both on paint.NET (GMIC 2.9.9) and GIMP 2.10.30 (GMIC 3.1.2).

The preview widget renders the image incorrectly; hooking into the host code and telling CImg to save a copy of the returned image (before receiving it in Krita) results in the attached file.
Comment 5 amyspark 2022-07-20 22:20:32 UTC
Marking as RESOLVED UPSTREAM and CC'ing David, due to the previous comment I assess this as a bug in G'MIC itself.