add `auto_scale`, `force_jpeg` and auto jpegoptim support