Bug 436356

Summary: kolourpaint doesn't update png data correctly
Product: [Applications] kolourpaint Reporter: Chef Niko <culinaryelation>
Component: generalAssignee: kolourpaint-support
Status: RESOLVED NOT A BUG    
Severity: normal CC: martin
Priority: NOR    
Version First Reported In: 20.08   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: sample .png file

Description Chef Niko 2021-04-29 12:55:01 UTC
Created attachment 138003 [details]
sample .png file

SUMMARY

I have a png file converted from a tga source, using imagemagick. While this seems valid (I can see it in dolphin, open it in kolourpaint etc), it won't work with utilities like libpng. Metapicz.com reports the file contains errors.

When I edit and save the file in kolourpaint, the errors remain. I can make a new file in kolourpaint, which then works with libpng, but the quality is unacceptable.


STEPS TO REPRODUCE
1. Open .png file in kolourpaint
2. Edit file
3. Save file

OBSERVED RESULT
png data not updated

EXPECTED RESULT
png data updated

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
Attached .png which can be used to demonstrate the problem.
Comment 1 Martin Koller 2021-06-22 10:57:52 UTC
What you attached is not a PNG file.
According to "file sample.png" output:
Targa image data - RGBA 40 x 40 x 32 - 8-bit alpha - top

I assume you just renamed the file from .tga to .png instead really converting
the format.