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

--- Comment #2 from Boudewijn Rempt <b...@valdyas.org> ---
from krita import *
doc = Krita.instance().activeDocument()
fl = doc.createFileLayer("test",
"~/Pictures/gfx_Pepper-and-Carrot_by-David-Revoy_E24P05.jpg", "")
root = doc.rootNode()
children = root.children()
root.addChildNode(fl, children[0])

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

Reply via email to