https://bugs.kde.org/show_bug.cgi?id=419111

            Bug ID: 419111
           Summary: krita crashes whith looping calls to setPixelData
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: macOS Disk Images
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Scripting
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 126943
  --> https://bugs.kde.org/attachment.cgi?id=126943&action=edit
A very nice script

I made a script batch some png in a folder and output corresponding kra files
with a white background and a disabled desaturation filter on top

Opening a lot of those png files at once works fine.
Opening 2 or 3 of those files with a loop call to Node.setPixelData to fill a
paint layer crashes krita.

STEPS TO REPRODUCE
1. Have a root folder with png subfolder containing 5 A3 300dpi png files and a
kra destination like so:
testFoler/
|_png/
|_kra/

2. Adapt the paths in the script (3 of them line 3, 4, 38)
3. Run the script

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
1. Corona virus is destroyed...
2. All png files have an equivalent kra file with a white background and a
disabled desaturate 3rd mode desaturation filter and the drawing layer active.

SOFTWARE/OS VERSIONS
Krita 4.3.0-prealpha git 9dffafb but also krita 4.2.8
macOS: Catalina 10.15.3 (19D76)

ADDITIONAL INFORMATION
The script is attached

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to