[Plugin] Pixel Borders

Hi! I’ve made a plugin for pixel-art on Krita. This improves the workflow by adding some ways to add borders to pixel-art characters in the canvas.

Source Code and Installing Instructions are here:

It works on paint, group and animated layers and It also works on group layers that hold inside animated layers, so It won’t be necessary to render a portion of the image to add borders into a multi-layer sprite.

The idea came to my mind after I had to correct a frame of a large animation I was doing some time ago. Weeks later, I wrote down a script but It wasn’t very comfortable to use. So, I made a GUI and started to improve everything on it and after some months I got a stable version of the plugin.

I hope you like it! :grinning_face_with_smiling_eyes:

GUI Preview:





Results Preview:

Before
spiky-guy

After
spiky-guy-borders2px

12 Likes

Hi

Interesting, I have to take a look on it :slight_smile:

Just one remark about system requirements.

You indicate:

System Requirements

Minimum (tested) Recomended
Krita 4.3.0 Krita 4.4.x
Python 3.6 Python 3.9
PyQt5 5.12.x PyQt5 5.15.x

But official Linux appimage (Krita 4.4.3 and 5.0.0) are provided with:

Python Qt5 PyQt5
3.8.1 5.12.9 5.13.1

Too lazy to run a windows 10 VM to check current version on windows system, but might be the same I think.

Also Qt 5.15 is not recommended with Krita due to some Qt bugs.

Grum999

Thanks for telling me about the appimage! :smiley:
I was using the version provided by the OS maintainers.

I’ll try the official Krita’s appimage to check if the plugin runs well on it and update the recommended versions later.

About Qt… Well, I noticed a weird behavior after some PyQt5 updates in my OS. (Manjaro 20.x then)

There was a QObject::killTimer exception that made Krita unstable on the early tests. That error appeared once QThreads were added into the code and I had to rewrite part of the plugin’s core to avoid it.

I added a custom module that makes a “bridge” between Python and PyQt to keep safe the objects used in the main task… because they were being deleted in the middle of the process!

Maybe that’s linked with Qt bugs. :thinking:

Amazing-looking addon! :grin:I think Krita has a fantastic potential for pixel art, and this addon proves- and helps it reach its potential! :raised_hands: Thank you for the great work

2 Likes

Yes, Krita is nice for it! :grin:
the grid, animation and color selection features makes it easier to work with pixel art

1 Like

By the way, I tested the plugin in the official AppImage and it looks much better. :grinning:
The button contents are aligned at the left now.