Shell script for progressively compressing images and stripping any metadata from the image