xcf: Properly read image resolution

Authored by aacid on Sep 20 2019, 8:40 PM.

Description

xcf: Properly read image resolution

Summary:
QDataStream reads 64 bits when reading into a float unless you tell it to use SinglePrecision,
since floats in xcf are 32 bit, do that

Reviewers: cfeck, apol, vkrause

Reviewed By: vkrause

Subscribers: kde-frameworks-devel

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D24113

Details

Committed
aacidSep 20 2019, 8:41 PM
Reviewer
vkrause
Differential Revision
D24113: xcf: Properly read image resolution
Parents
R287:68bb1a0ee7f9: Port HDR (Radiance RGBE) image loader to Qt5
Branches
Unknown
Tags
Unknown