Bug 436356 - kolourpaint doesn't update png data correctly
Summary: kolourpaint doesn't update png data correctly
Status: RESOLVED NOT A BUG
Alias: None
Product: kolourpaint
Classification: Applications
Component: general (show other bugs)
Version: 20.08
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kolourpaint-support
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-29 12:55 UTC by Chef Niko
Modified: 2021-06-22 10:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
sample .png file (6.27 KB, image/png)
2021-04-29 12:55 UTC, Chef Niko
Details

Note You need to log in before you can comment on or make changes to this bug.
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.