Ok I've implemented the change hue function in PIL the function is close to 3 time slower than pygame though (0.308 seconds rather than 0.167 seconds) but at the same time we don't need to distribute with 3.5 MB library that we are only using for one ten line piece of code. :/
EDIT:
assembla is having server problems ... it's committed now, yay!
EDIT2:
ok this is freaking epic I just managed to DRASTICALLY reduce the amount of time needed to rotate the hue of an image with PIL and woudn't you know it it take twenty times a much code... oh and numpy
.
the times on the left are from my new PIL function, the right the old loop and set each pixel separately PIL function and as you can see its even faster than the pygame version.
how awesome am I?