add function of image compression quality and sharpen.