KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
136122
:
open a paletted PNG, save as PNG and Krita corr...
P
roduct
:
krita
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2006-10-22 10:52
Last Changed:
2006-10-22 12:42:29
Version: 1.6.0 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu2) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.18.1-custom How to reproduce: - Take a GIF file, convert it to PNG (using gif2png or GIMP) - Open this PNG file, use the Contiguos Fill tool with color #ff00ff, click on the upper left pixel of the image. - Save as PNG (was using maximum compression) - Open the resulting PNG with any image viewer, zoom at the upper left pixels. They are corrupted with random data resulting in about 10 (sometimes more, sometimes less) gray pixels. See attached images for examples. I made a strange observation: I opened the GIF file in GIMP, converted to RGB instead of paletted colors, saved as PNG. I then did the above and noticed, that the resulting (still corrupted) PNG was paletted again. By the way, while trying to check, whether converting the GIF file to a TIFF file with GIMP, open this file with Krita and save it as a PNG helps, Krita crashed on opening the TIFF file.. (I'm going to report this crash separately with backtrace)
Comment
#1
Philipp Wollermann 2006-10-22 10:53:36
Created an attachment (id=18221)
[details]
My original GIF file
Comment
#2
Philipp Wollermann 2006-10-22 10:54:09
Created an attachment (id=18222)
[details]
PNG with corrupted pixels after saving it with Krita
Comment
#3
Cyrille Berger 2006-10-22 12:41:38
SVN commit 598004 by berger: forward port of bug fix of saving indexes pngs CCBUG:136122 M +1 -1 kis_png_converter.cc --- trunk/koffice/filters/krita/png/kis_png_converter.cc #598003:598004 @@ -123,7 +123,7 @@ class KisPNGStream { public: - KisPNGStream(quint8* buf, quint32 depth ) : m_posinc(8),m_depth(depth), m_buf(buf) {}; + KisPNGStream(quint8* buf, quint32 depth ) : m_posinc(8),m_depth(depth), m_buf(buf) { *m_buf = 0;}; int nextValue() { if( m_posinc == 0)
Comment
#4
Cyrille Berger 2006-10-22 12:42:29
SVN commit 598006 by berger: bug fix of saving indexes pngs BUG:136122 M +1 -1 kis_png_converter.cc --- branches/koffice/1.6/koffice/filters/krita/png/kis_png_converter.cc #598005:598006 @@ -123,7 +123,7 @@ class KisPNGStream { public: - KisPNGStream(Q_UINT8* buf, Q_UINT32 depth ) : m_posinc(8),m_depth(depth), m_buf(buf) {}; + KisPNGStream(Q_UINT8* buf, Q_UINT32 depth ) : m_posinc(8),m_depth(depth), m_buf(buf) { *m_buf = 0;}; int nextValue() { if( m_posinc == 0)
P
latform
:
unspecified
O
S
:
Linux
K
eywords
:
U
RL
:
People
Reporter
:
Philipp Wollermann
Assigned To
:
Cyrille Berger
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
My original GIF file
(15.58 KB, image/gif)
2006-10-22 10:53
,
Philipp Wollermann
Details
PNG with corrupted pixels after saving it with Krita
(14.48 KB, image/png)
2006-10-22 10:54
,
Philipp Wollermann
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In