![]() Registered Member ![]()
|
Hi,
I've heard it's possible to use some of kritas features from linux terminal and it made me wonder if it's possible to use krita to automate mass rescaling a large number of sprites (a thing I often have to do is exporting pixel art sprites in original scale and then also scale them all up using box transform algorithm). I know i can just load all sprites as layers and resize the entire document, but then I have to crop and export each layer one by one. Does someone know if it's possible to automate this somehow? |
![]() KDE Developer ![]()
|
With Krita 4.0 you will be able to write and run a python script that can do this.
The api docs for 4.0 python are here: https://api.kde.org/extragear-api/graph ... index.html Basic python usage here: https://docs.krita.org/Category:Python_Scripting And guy who writes a lot about krita python scripting: https://kritascripting.wordpress.com/ |
![]() Registered Member ![]()
|
That's super cool, thanks! Hopefully I'll be able to figure out how to use it
![]() |
Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]