Pixmap saturating/hue

BlitzMax Forums/BlitzMax Programming/Pixmap saturating/hue

Is there a way to recolor or saturate a specific color/color-range (and possibly the whole pixmap) in a pixmap, without having to parse all the pixels?
Can we do it using standard max2d calls (or more specifically, OpenGL)?

I can think of one way to do it, make a pixmap with the areas you want to saturate/hue in the mask color and draw a pre-colorized mask image under the pixmap, so that the color of the mask image shows through to the other side.