Compresses the image by reducing its size based on the shape size and specified resolution. Optionally it also deletes cropped areas....Compresses the image by reducing its size based on the shape size and specified resolution. Optionally it also deletes cropped areas.