xcf: Properly read image resolution
ClosedPublic

Authored by aacid on Sep 20 2019, 2:15 PM.

Details

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

Diff Detail

Repository
R287 KImageFormats
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 16834
Build 16852: arc lint + arc unit
aacid created this revision.Sep 20 2019, 2:15 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptSep 20 2019, 2:15 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
aacid requested review of this revision.Sep 20 2019, 2:15 PM
vkrause accepted this revision.Sep 20 2019, 4:46 PM
This revision is now accepted and ready to land.Sep 20 2019, 4:46 PM
aacid closed this revision.Sep 20 2019, 8:41 PM
cfeck added a comment.Sep 21 2019, 3:37 AM

That's bug 362484, please close. Merci!