Krita Python Scripting Tutorial #3 - Extensions
HMagellanLinux
PLEASE WATCH THE PREVIOUS VIDEO ( https://www.youtube.com/watch?v=BCpubcifIfI ) BEFORE WATCHING THIS ONE, AS THESE TUTORIALS BUILD ON EACH OTHER!
How to use Python to make scripts for the Krita drawing application! This video is the third in a series that covers how to use Python to automate and extend Krita. In this video, I show you how to create an extension, which is a useful type of Krita Python script that launches on startup and can interact with the GUI.
To follow along, make sure Krita is updated to the latest version (at least 4.0).
NOTE: This is NOT a general introduction to the Python programming language! That would be outside of the scope of this tutorial. If you would like to learn Python, there are plenty of excellent resources on YouTube and elsewhere on the internet. A good example is the official Python documentation: https://docs.python.org/3/
(For those of you who are more interested in my Gentoo Linux material, don't fear! I will continue to produce Gentoo videos along with other things like this.)
Krita docs on Python scripting: https://docs.krita.org/en/user_manual/python_scripting.html libkis API docs: https://api.kde.org/extragear-api/graphics-apidocs/krita/libs/libkis/html/index.html
Page with the Extension class template: https://docs.krita.org/en/user_manual/python_scripting/krita_python_plugin_howto.html#creating-an-extension If you like reading source code, this sample from the official Krita GitHub repo can teach you a lot about Python Extensions: https://github.com/KDE/krita/blob/master/plugins/python/hello/hello.py
SOCIAL LINKS Mastodon: https://fosstodon.org/@hmagellan Twitter: https://twitter.com/HellaMagellan BitChute: https://www.bitchute.com/channel/hmagellan/ Steemit: https://steemit.com/@hmagellan Minds: https://www.minds.com/HMagellan
#Linux #Krita ... https://www.youtube.com/watch?v=Vx-y4L8uTBw
25677271 Bytes