This PR adds support for rescaling of the output image during JPEG decompression. This can be very useful to quickly generate a preview of a large JPEG file, as it is much faster than decompressing the file at full resolution and rescaling it afterwards.
The PR also adds support for gray-scale output as well as setting some decompressor parameters controlling the trade-off between speed and quality.
This PR adds support for rescaling of the output image during JPEG decompression. This can be very useful to quickly generate a preview of a large JPEG file, as it is much faster than decompressing the file at full resolution and rescaling it afterwards.
The PR also adds support for gray-scale output as well as setting some decompressor parameters controlling the trade-off between speed and quality.