summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libtiff/libtiff/tiffvers.h
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2017-11-13 11:40:25 +0100
committerEirik Aavitsland <eirik.aavitsland@qt.io>2017-11-16 08:25:34 +0000
commita1504e8ecfc683691eb4be1f81b6a6e7920d85ab (patch)
treed5008aa80a9b4d9e402919ec8874b21b1ca0bccd /src/3rdparty/libtiff/libtiff/tiffvers.h
parentfeca51d8c714781378cecc99122035348e0459bb (diff)
WebP: Fix wrong default quality level for writing
If a negative (i.e. illegal/unset) quality value was set to the WebP handler, it would just bound it to 0 (minimum quality level). This would happen on every save where no explicit quality level had been requested on the QImageWriter. Fix by copying the jpeg handler's behavior: If a negative value is set, use the default level (75) when storing. [ChangeLog][WebP handler] Fixed default quality level for writing Task-number: QTBUG-64437 Change-Id: I0f1cabba6cea6851c6a813bf5bf7ab8e8c49ddfb Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Diffstat (limited to 'src/3rdparty/libtiff/libtiff/tiffvers.h')
0 files changed, 0 insertions, 0 deletions