https://bugs.kde.org/show_bug.cgi?id=452362
Bug ID: 452362
Summary: Structure for PNG file header uses wrong endianess
Product: okteta
Version: 0.26.7
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: Structures Tool
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
The PNG file header structure that comes with Okteta assumes "width" and
"height" are little endian (on x86_64 at least), when they should always be big
endian, as per the specifications.
STEPS TO REPRODUCE
Open a PNG file in Okteta and apply the "PNG file header" structure. The
"width" and "height" fields are incorrect. For example, for a PNG that is 512
pixel wide (0x00000200), it will show a width of 131072 (0x00020000).
--
You are receiving this mail because:
You are watching all bug changes.