Indeed it works again [prawnsushi]
I’m trying to figure out why afre’s afre_contrast stopped working now, but I’m not very good at figuring out all the commands of GMIC and afre also uses his own addons in his filters, so I don’t know if the bug is in the afre_contrast part or in one of the others he uses. But I try to see if he uses those subroutines in other filters that do work, so I know it’s not that. like afre_orien, seems to be fine that one
And it’s not even a long bit of code, but I’m trying to decipher the bits, at least there is a chance I learn a bit from trying I figure, although it takes a lot of time.
I get an error that says:
*** Error *** Command ‘afre_contrast’: Undefined argument ‘$2’, in expression ‘$2’ (for 1 argument specified).
And there is a $2 in the code but the line is confusing to me because I’m still not at ease with the GMIC terminology and short forms.
And I’m very lacking in math skills, it is one of the things that really annoy me. If you have some math skills you should take a moment and feel good about it is my advise
I now know that afre_y50 is OK too but his darksky filter has the same error as the afre_contrast one in gmic_qt, perhaps it’s a clue.
edit: Not much of a clue, the darksky filter uses afre_contrast, so it’s the same error and we are back at afre_contrast.
And his softlight filter has another error, a weird one, says it requires images with 1 or 3 channels, even when that is what it has. I’ll pass over that one.
ContrastFFT also has the 1 or 3 channel image required error.