What about divide? E = (256*I) / (M+1)
This can produce weird values. What if I = 255 and M = 0.
Then we have 256 * 255 / 1 = 65 280 and that does not make sense.
_______________________________________________ gimp-developer-list mailing list gimp-developer-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gimp-developer-list