[Script] Multiple Drawing, outline, fill workflow tools

Using GPT I’ve made a few different tools which I consider to be things useful to a normal drawing workflow, aiming to speed up very common tasks. (refresh if these previews don’t play, by the way)

https://www.mediafire.com/file/3unkxqytm6xctak/workflow_scripts.zip/file

The first, Clean_outlines, will remove excess outlines until it is 1 px. This only removes absolute black lines, in order to simplify the number of clicks. Also useful to use after rotating an image since it removes jaggies.

51606fba6b0967ed9f0319865b25dfc9

The next is Bridge_outline, which will fill in black outlines. This is useful when narrowing or tweaking a shape, and also when rotating an image.

000e335bade672a2f29c9502aa8eb1b8

This one is Fill_inside. If nothing is selected, clicking on a color will fill it with the FG color while leaving the outline intact. If there is a selection, it will fill everything while leaving the outline. This is a quick way to fill a messy area with one color while maintaining the shape, or for quickly getting an outlined shape from solids.

541ac608b679921126ce176bfda1a7f2

This one is Shade_replace. Whatever color you click, it will replace it with the FG color as long as it is touching the BG color. There is also a (No outline) version which will ignore external outlines.

6e4cf46a8e6ae40ec1ffae746e22e65c

I also included a simple anti-aliasing filter, which doesn’t need much explanation, aside from that there is one which ignores diagonals and one which doesn’t.

This next tool accomplishes pixel art style antialiasing/smoothing, with a few options.

You select color 1, color 2, and a blend color. It will place the blend color on Stair-stepping areas where those colors meet. You can then choose the length, which is a % of the length of each step. The invert checkbox will change whether you are placing the pixel on color 1, or color 2.

If you pick the same color for 1 and 2, then that color will blend with everything it touches.

Auto blend will disregard the blend color, and mix colors. Auto ratio will change the prominence of each color (darkest is always 0, brightest is 100).

Saturation will give the resulting color a bit of a saturation boost.

ae8a92d619495bc2473d2bed1775ba36

516063ab74259cfe95588cd44283829a

Let me know if there are any other ideas you might have for things which would shorten drawing tasks in any significant way.

4 Likes

Hey Kyrieru,
that´s really cool what you made!
I really like it
:slight_smile:

I tried the color replacer, yet it seems to only fill the edges of my area I want to replace.


(trying to replace the grey here.) Maybe its a bug, maybe I am just wrongly applying it?
Can you give me a clear instruction in steps?
All my test just filled the sprite brims.

The shade replace tool replaces based on color 1 and color 2. For example in this scenario we want black to be replaced by the shadow color, but only when it is next to the highlight color.

So in this case the selected colors are
Color 1: Dark Blue
Color 2: Light blue

Clicking on black. replaces black when those conditions are met.

Yay! Thank you Kyrieru :smiley: Works like a charm now!
Incredibly handy tool.

I myself also tried to create an addon with ChatGPT (failed though :I).
Maybe you also can achieve that?
My Idea:
Choose one color in your selected area with lets say the “8” key. (The color right underneath the mouse).
And then hover over any color anywhere on the screen and press “8” again to replace the color you´ve choosen. That way color replacing would be way faster than the usual built-in way.

GPT is better at it now than it used to be, if you haven’t tried it recently.

As for a color replace, you wouldn’t hardcode a hotkey into it. You would create the script and then assign a hotkey to it through aseprite’s usual hotkey functions.

Personally I wouldn’t see much use in it since I just use fill with continuous off, and eyedropper is on a hotkey. If you want to try creating one in GPT, you would ask something like:

”Create an aseprite script. Running the script should enter a mouse mode which allows the user to click on a pixel. Get the color of the pixel. Replace all pixels within the selection (or all pixels if no selection is made) with color 1.”

That’s what I would do, at least, since eyedropper should always be bound to a hotkey given how often it is used. This means that you should already have color 1 selected, and the only thing needed is clicking which color to replace.

Also, any time GPT hits a loop or problem, paste the script into another ai like Grok, or deep seek, and ask it to solve the problem. By using multiple ai’s you can prevent dead ends.