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).
Git commit b8abb13b01374b2d57f5e31fec16d3eb821233d2 by Friedrich W. H. Kossebau. Committed on 16/05/2022 at 11:02. Pushed by kossebau into branch '0.26'. PNG structure definition: always use network byte order (big endian) FIXED-IN:0.26.8 M +1 -1 kasten/controllers/view/structures/examples/okteta/structures/png/main.osd https://invent.kde.org/utilities/okteta/commit/b8abb13b01374b2d57f5e31fec16d3eb821233d2