I've been thinking about this patch a bit, currently if an output profile is specified it both scales to the output profile size and lowers the image quality. Is that really necessary? Wouldn't a better algorithm be
1) Scale to the output profile size
2) Lower the image quality only enough to ensure that the image size is < original_area/factor rather than scaled_area/factor
|