Utility for optimizing and compressing JPEG files