![]() ![]() It takes up a lot of time to answer the same question, and I would like to reserve that time for answering the questions that are unique and more dififcult to answer. But sometimes I get a lot of the same question. ayers.Hi there! I like answering questions, so it is fine to ask them. ![]() Have a File Layer that automatically loads the dithered image, in case I want to see or edit it in Krita.Have a script in the background that detects changes of that PNG file and runs ImageMagick ordered 8x8 dither, something likeĬode: Select all magick convert test.png -ordered-dither o8x8,6 test_o8x8.gif.Save image as PNG file (semi-)automatically.Dithering on the fly upon each change of the undithered image as follows: Newnode = doc.createFileLayer(LAYERNAME_DITHERED, filename_dithered, "ImageToSize")ģ. If doc.nodeByName(LAYERNAME_DITHERED) is None: Os.system("magick convert "+filename_fordither+" -ordered-dither o8x8,6 "+filename_dithered) ![]() Node.save(filename_fordither, 1, 1, exportConfiguration) #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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |