Implemented some of the image processing changes