https://bugs.kde.org/show_bug.cgi?id=465691
Bug ID: 465691 Summary: Scripting: exportImage doesn't export vector layers Classification: Applications Product: krita Version: 5.1.5 Platform: Ubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Scripting Assignee: krita-bugs-n...@kde.org Reporter: ai...@aidinhut.com Target Milestone: --- SUMMARY I was writing a script to load all the pages of my graphic novel (separate files) and resize and export them. I noticed that in some files, sometimes, the vector layers aren't included in the exported file. Just like when you hide them. I attached a simplified version of the script that can reproduce the issue. STEPS TO REPRODUCE I can't attach large files here, so I uploaded them to Gitlab. You can find them here: https://gitlab.com/aidin36/sharedstuff/-/tree/master/krita-bug I attached 02.kra file that often has this issue, and the script and the exported file. Open the script in your scripter, set the FILE variable to where the 02.kra file located, and run the script. Sometimes it exports the file correctly. But often, it doesn't. Even if you comment out the re-size line, the same issue happens. OBSERVED RESULT The vector layers are hidden in the exported file. See the 02.kra.png file attached. EXPECTED RESULT All visible layers are exported. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 22.10, kernel: 5.15.0-56-generic KDE Plasma Version: 5.25.5 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Krita: 5.1.5 - AppImage -- You are receiving this mail because: You are watching all bug changes.