I would like to convert Gimp "Color Enhance" algorithm to GD library (PHP) but despite I\'ve tried, has not been possible for me.
Here is the doc: https://d