How to use high pass filter in GIMP 2.10.10?

(Boris Hajdukovic) #1

I don’t understand high pass filter in new GIMP 2.10.10.

Here is the example picture where I would like to use high pass filter:

If I use built-in high pass filters, the original image will only be covered with grey haze:

If I increase the contrast, the haze simply becomes more transparent…:

…until some strange artefacts emerge:

Actually I expect result like this (done with high pass filter script):

Does anyone have any idea what’s going on or what I’m doing wrong?

I am using GIMP 2.10.10. AppImage from @Carmelo_DrRaw in Kubuntu 18.04.

1 Like

#3

I can’t see anything obvious that you’re doing wrong but yeah, it’s not the result you’d expect.

I can only offer that the windows version works as expected so maybe try another version if possible.

0 Likes

(Boris Hajdukovic) #4

@Mike_Bing Thanks for answering but if I follow your suggestion, I get this:

0 Likes

(Boris Hajdukovic) #6

Thanks @Mike_Bing but I think I did it right.

  1. Layer duplicated and high pass filter applied to duplicated layer:

  1. so the same layer - after applying the high pass filter - looks like this in normal mode:

  1. With overlay blend mode result looks like this:

0 Likes

(Boris Hajdukovic) #7

So, I just found out that the high pass filter in GIMP 2.10.8 works as I expect it to:

However, this GIMP version I installed from otto-kesselgulasch PPA source.

This means, either high pass filter in the new (2.10.10) version has been changed, or the AppImage of @Carmelo_DrRaw s not working properly. :thinking:

Can someone else - beside @Marctwo - please check if the high pass filter in 2.10.10 behaves the way I showed it at the beginning?

0 Likes

(Carmelo Dr Raw) #9

Would you have the possibility to check the 2.10.8 AppImage? I am away from my computer at the moment, so I cannot do it myself…

0 Likes

(Boris Hajdukovic) #10

No, I wanted to test Bing’s suggestion before answering you. It could have been that we both did something wrong, because the operation of the new high pass filter in 2.10.10 has changed. :wink:
In any case, thanks a lot for the feedback!

0 Likes

(Boris Hajdukovic) #11

I just tested it and it works as expected. So the problem is probably in the new GIMP version.

1 Like

(Mike Bing) #12

I misread this whole discussion for which I apologize. I do have to note however that on my Gimp 2.10.10 the highpass filter works exactly like it did in 2.10.8 (Running Arch Linux and a regular Gimp install from the standard repo)

1 Like

(Boris Hajdukovic) #13

You don’t have to apologize, Mike. And thank you for additional info!

If so, then it’s either my distro or AppImmage from @Carmelo_DrRaw

It’ll be interesting to know what the others are saying.

To all: Does anyone use GIMP 2.10.10 in Ubuntu or one of Ubuntu’s derivatives with the same problems I described above?

0 Likes

(Carmelo Dr Raw) #14

@Mike_Bing @s7habo one difference might be in the GEGL version used for the build. Could you tell me which BABL/GEGL versions are associated to Gimp 2.10.10 in Arch?

For the AppImage I am taking the GEGL git HEAD, which is probably not a good idea for release builds…

0 Likes

(Boris Hajdukovic) #15

Thanks for taking the time to do this @Carmelo_DrRaw!

I’ve just tried some of your AppImages and the problem starts with GIMP_AppImage-git-2.10.9-20181129-x86_64.AppImage Verison.

I hope this information can help you.

0 Likes

(Carmelo Dr Raw) #16

@s7habo I have compiled new AppImage packages using GEGL 0.4.14 (apparently the same version used by Arch). Could you please test them and see if they behave correctly?
The links:
https://github.com/aferrero2707/gimp-appimage/releases/download/continuous/GIMP_AppImage-release-2.10.10-x86_64.AppImage
https://github.com/aferrero2707/gimp-appimage/releases/download/continuous/GIMP_AppImage-git-2.10.11-20190413-x86_64.AppImage

0 Likes

(Mike Bing) #17

[mike@elonlaptop-arch-2 PEF]$ pacman -Qi gegl
Name : gegl
Version : 0.4.14-1
Description : Graph based image processing framework
Architecture : x86_64
URL : https://www.gegl.org/
Licenses : GPL3 LGPL3
Groups : None
Provides : None
Depends On : babl libspiro json-glib libgexiv2 libraw openexr librsvg libtiff luajit jasper lensfun suitesparse
Optional Deps : ffmpeg: ffmpeg plugin [installed]
Required By : gimp gnome-photos libmypaint
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 8,23 MiB
Packager : Jan de Groot jgc@archlinux.org
Build Date : do 21 mrt 2019 23:22:05 CET
Install Date : za 06 apr 2019 11:54:36 CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature

[mike@elonlaptop-arch-2 PEF]$ pacman -Qi babl
Name : babl
Version : 0.1.62-1
Description : Dynamic, any to any, pixel format conversion library
Architecture : x86_64
URL : https://gegl.org/babl/
Licenses : LGPL3
Groups : None
Provides : None
Depends On : glibc
Optional Deps : None
Required By : gegl gimp gnome-photos libmypaint
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 856,00 KiB
Packager : Jan de Groot jgc@archlinux.org
Build Date : do 21 mrt 2019 23:12:09 CET
Install Date : za 06 apr 2019 11:53:48 CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature

1 Like

(Boris Hajdukovic) #18

Just tested both

No, unfortunately not. I just tested both of them. High pass filter does not work as expected :unamused:

Here is 2.10.11 AppImage you just sent:

0 Likes

(Carmelo Dr Raw) #19

@s7habo I have just tested the 2.10.10 AppImage, and I cannot reproduce your issue.
Here is an example of application of the high-pass filter:

Could you try deleting the GIMP AppImage configuration folder?

$HOME/.config/GIMP-AppImage
0 Likes

(Boris Hajdukovic) #20

I did and now it works :flushed:

What happened and what should I do to prevent it in the future?

0 Likes

(Boris Hajdukovic) #21

OMG! Just tested. It was OpenCL! I had OpenCL on.
When I turn it off filter works again.

1 Like

(Boris Hajdukovic) #22

Ok @Carmelo_DrRaw, I’ve done additional testing now and it turns out that OpenCL doesn’t work properly in some of your AppImages. As an example:

GIMP_AppImage-git-2.10.9-20181129-x86_64.AppImage with OpenCL on:

and off:

So, everything works fine, and now…

GIMP_AppImage-release-2.10.10-x86_64 (you sent yesterday) with OpenCL on:

and off:

In this version something is broken with OpenCL.

Here is my clinfo if you need it:

clinfo.txt (9,7 KB)

2 Likes

(Carmelo Dr Raw) #23

Interesting finding! Debugging the opencl issue will likely take some time, but I will look into that…

1 Like