https://bugs.kde.org/show_bug.cgi?id=464484
Bug ID: 464484 Summary: TGA files not saved correctly Classification: Applications Product: krita Version: 5.1.5 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: File formats Assignee: krita-bugs-n...@kde.org Reporter: alexandre.prokoud...@gmail.com Target Milestone: --- Krita saves 8-bit RGBA TGA files in a way that appears to be wrong. GIMP reports this upon an attempt to open such a file: Unhandled sub-format in '/home/alex/Pictures/test.tga' (type = 2, bpp = 32, alpha = 4) (related bug report: https://gitlab.gnome.org/GNOME/gimp/-/issues/9067) >From #krita: Lynx3d: "Bits 3-0 - number of attribute bits associated with each pixel. (...) For Targa 32, it should be 8." so it seems wrong indeed that's what krita does: s << quint8(hasAlpha ? 0x24 : 0x20); // top left image (0x20) + 8 bit alpha (0x4): -- You are receiving this mail because: You are watching all bug changes.