<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>475737</bug_id>
          
          <creation_ts>2023-10-17 13:57:25 +0000</creation_ts>
          <short_desc>Exporting CMYK32 to PNG leaves vertical lines</short_desc>
          <delta_ts>2024-03-27 16:54:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>File formats</component>
          <version>5.2.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>regression, triaged</keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Freya Lupen">penguinflyer2222</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>griffinvalley</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/df9b50fe00dbf8cd66cc2789b787865864579f9b</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2259534</commentid>
    <comment_count>0</comment_count>
    <who name="Freya Lupen">penguinflyer2222</who>
    <bug_when>2023-10-17 13:57:25 +0000</bug_when>
    <thetext>SUMMARY
As reported on KA (https://krita-artists.org/t/on-export-to-png-blue-areas-now-have-thin-vertical-purple-lines/76230), exporting CMYK32 to PNG leaves discolored vertical lines at intervals. This happens on 5.2.0, but not 5.1.5. It appears to have been caused by commit e152f99c12 (https://invent.kde.org/graphics/krita/-/commit/e152f99c12).

STEPS TO REPRODUCE
1. Create a CMYK32 image with a whitish background, draw some blue scribbles.
2. Export to PNG.

OBSERVED RESULT
Purple lines, and a blueish background.

EXPECTED RESULT
To look the same as in Krita- with no lines and a whitish background.

SOFTWARE/OS VERSIONS
Krita 5.2.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2259777</commentid>
    <comment_count>1</comment_count>
    <who name="wolthera">griffinvalley</who>
    <bug_when>2023-10-18 10:27:12 +0000</bug_when>
    <thetext>I can confirm this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2306168</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-03-27 16:53:45 +0000</bug_when>
    <thetext>Git commit 03349d25a2f745dfc8d05feafca7ce4f0f3b58dd by Dmitry Kazakov, on behalf of Rasyuqa A. H..
Committed on 27/03/2024 at 16:53.
Pushed by dkazakov into branch &apos;master&apos;.

PNG: prevent multiple color conversions

M  +23   -27   libs/ui/kis_png_converter.cpp

https://invent.kde.org/graphics/krita/-/commit/03349d25a2f745dfc8d05feafca7ce4f0f3b58dd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2306169</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2024-03-27 16:54:13 +0000</bug_when>
    <thetext>Git commit df9b50fe00dbf8cd66cc2789b787865864579f9b by Dmitry Kazakov, on behalf of Rasyuqa A. H..
Committed on 27/03/2024 at 16:54.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.

PNG: prevent multiple color conversions


(cherry picked from commit 03349d25a2f745dfc8d05feafca7ce4f0f3b58dd)

M  +23   -27   libs/ui/kis_png_converter.cpp

https://invent.kde.org/graphics/krita/-/commit/df9b50fe00dbf8cd66cc2789b787865864579f9b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>