Using floor or ceiling on user-defined color filter in g'mic?


#1

Is there anyway to use those? I would like to be able to multiply by a number, and any number higher than 1 is subtracted by the floor of that number based on float value? I’m looking at the documentation, and I don’t see any indicators I can do this with this filter.

Like to clarify. Two values multiplies by 2 - .25, .75
.25 * 2 = .5 - > returns .5
.75 * 2 = 1.5 -> returns .5

That’s what I want to see.


EDIT: Never mind, I figured it out. It seems that the filter use 8-bit, and it’s one of those filter that needs to be updated to work with float values and behave as it working with float images as a option. And different depth as well.
.