How to colorize some user interface images...

I would like to change the Aqua tint of user interface elements such as buttons (without affecting the grays)...
We put here an NSBitmapImageRep extension to rotate the hue of a bitmap along with an example program showing how to use it.