This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I need to make a script that saves the file and its layers

Tags: None
(comma "," separated)
luchen
Registered Member
Posts
1
Karma
0
I need to make a script that saves the file and its layers. I am new to Krita but not with python. Basically, I need to open an image and draw something on another layer and save both the image and the layer as separate files. Something like file001, file001_layer1. I know I can do it by hand but it's going to be very repetitive. So can someone point me in the right direction to get started?

PS I am assuming current version of Krita supports python scripting.
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
4.0 supports python scripting, and even has such a script as part of the default example scripts. It's called the 'export layers' plugin and can be enabled via settings->configure Krita->python plugin manager.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]