stp: Reduction of image size