Added JPEG_COMPRESSION as a configuration option, set to 95% if not defined.