PIMP programmed with aim not to be fastest pixel handling utility but to understand logic of some functions. As python is easily readable its good to learn how image operations are made.