https://bugs.kde.org/show_bug.cgi?id=424192
Scott Petrovic <scottpetro...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |NEEDSINFO Resolution|--- |WAITINGFORINFO --- Comment #3 from Scott Petrovic <scottpetro...@gmail.com> --- After looking at another script...I think this does actually work and this bug might be invalid. Changing the properties and running it again changes the effect of the filter. This seems to work for me in scripter... from krita import * #create document to work with newDocument = Krita.instance().createDocument(500, 500, "Document name", "RGBA", "U8", "", 300.0) Krita.instance().activeWindow().addView(newDocument) # shows it in the application # make active node layer opacity 100% activeNode = newDocument.activeNode() activeNode.setOpacity(255) # fill with foreground color that has saturation Krita.instance().action("fill_selection_foreground_color").trigger(); newDocument.refreshProjection() # see all available filters # print(Krita.instance().filters()) randomNoiseFilter = Krita.instance().filter("noise") config = randomNoiseFilter.configuration() config.setProperty("level", 100) config.setProperty("opacity", 99) randomNoiseFilter.setConfiguration(config) randomNoiseFilter.apply(activeNode, 0, 0, newDocument.width(), newDocument.height()) -- You are receiving this mail because: You are watching all bug changes.