Fix TIFFTAG_RESOLUTIONUNIT handling.
authorLeonard Lee <leonard.lee@digia.com>
Mon, 4 Feb 2013 14:03:05 +0000 (15:03 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 5 Feb 2013 16:28:02 +0000 (17:28 +0100)
commit44ea4280b20179eea5520fd1ef5ac814c528c45e
tree0850d8a641692f9b89308b98bdf7aca7d166770f
parent4b0831581a87db4eb4281d44990ae09f2454f01d
Fix TIFFTAG_RESOLUTIONUNIT handling.

If there is no TIFFTAG_RESOLUTIONUNIT record, the value of resUnit
should be RESUNIT_INCH and not RESUNIT_NONE.

Task-number: QTBUG-22322
Change-Id: Idb1ffeec85fdb5a23d93fa53505440a9e2f8914e
Reviewed-by: aavit <eirik.aavitsland@digia.com>
src/plugins/imageformats/tiff/qtiffhandler.cpp