I tried to go through the source code of hsl saturation calculation. In the file there is a function : void gimp_operation_hue_saturation_map (GimpHueSaturationConfig *config, const GimpRGB *color, GimpHueRange range, GimpRGB *result) it has three step to change saturation. 1.convert RGB into HSL 2. HSL mapping 3. HSL into RGB My question is how does map_saturation() function work, I tried to look into the code and it turn out too complicated for me to understand. Is there any one can explain it to me. Thank you in advance. Chiyu Wang -- Joe E. Lewis - "There's only one thing money won't buy, and that is poverty." _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer