JpegCreator: Use Qt's support for fast downscaling and auto-rotation

Review Request #129851 - Created Jan. 18, 2017 and submitted

Information
Alexander Volkov
kio-extras
75f0d22...
Reviewers
plasma
QImageReader::setScaledSize() allows to use fast downscaling
for jpeg images (by setting jpeg_decompress_struct::scale_denom).
QImageReader::setQuality(0) sets dct_method to JDCT_IFAST and
do_fancy_upsampling to FALSE, although these parameters don't
really influence on decoding speed, also as do_block_smoothing
which is not used by Qt.

QImageReader::setAutoTransform() allows to apply the rotation
from EXIF data. It was introduced in Qt 5.5, so bump the
required Qt version.

  
Christoph Feck
Christoph Feck
Alexander Volkov
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit c249f8547f2d1913e0570d78a0240c5f8865c336 by Alexander Volkov to branch master.
Alex Bikadorov

FYI: https://bugs.kde.org/show_bug.cgi?id=379817

Loading...