

#doc.exportImage(filename_fordither, exportConfiguration) Print('Please rename a layer to "'+LAYERNAME_FORDITHER+'".')ĮxportConfiguration = InfoObject() # no arguments means default Node = doc.nodeByName(LAYERNAME_FORDITHER) Here's a draft that works okay, you should install ImageMagick (you can play with its settings in the code below), rename a layer to "fordither" and create the directory "C:\tmp\" and then run the following script in the Krita Scripter:įilename_fordither = 'C:\\tmp\\fordither.png'įilename_dithered = 'C:\\tmp\\dithered.png' Write a Krita script or plugin that calls an external program that performs dithering. We should make a feature request for dithering with several patterns.Ģ. To achieve something like that, possible solutions are:ġ.

However, the example you show has many patterns, namely every second of the following ones: New Filter Mask -> Map -> Palettize -> Dither
