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

Ideas for the showcase of Krita's new scripting support

Tags: None
(comma "," separated)
User avatar
eliakinalmeida
KDE Developer
Posts
3
Karma
0
OS
Hi Krita community!!!

I'm Eliakin Costa de Almeida and I'm a GSoC student this year.

My project is to develop a showcase of Krita's new scripting support, but what is this?

How most of you know, Python Scripting Support is 10000 euro stretcher from the Krita's crowdfunding campaign of 2016. Now we have this feature in progress, how you can see here, but what is the next step? Develop a set of scripts to run inside Krita and plugins that can be added to GUI and release this to you.

I and other Krita devs have been working on scripts to test Scripting support, but we need your help with some ideas to plugins or scripts that can be really useful to you.

Some previous ideas from some Krita artists bellow:

    1. An "export to web" script or plugin.
    3. Duplicate image.
    4. Scale down an image.
    5. Export to jpg X% quality.
    6. Convert image color space for multiple documents.
    7. Change canvas size for multiple documents.
    8. Duplicate filter layer from a document to multiple documents.

That's it, let me know your ideas and suggestions,

Thanks :)
ramskulls
Registered Member
Posts
134
Karma
2
Well I'd love to see examples of the extent scripting can affect krita, like dockers and canvas decorations and such (is this possible?)

I personally want to see if we can make something like a pop-up like the one you see when you hit H(color history) and U(common colors) but for palettes. That's all I can really think of off the top of my head. Good luck with your project!! I'm super excited!
User avatar
DNart
Registered Member
Posts
75
Karma
2
OS
This is so cool! I would love to see where this goes, and the extent to which scripting will be implemented. I think I should finally go about learning python. Good luck with the project!


User avatar
radian
Registered Member
Posts
89
Karma
1
OS
Ohh, can't wait :)
I agree with guys above, I'd like to see scripts\plugins for dockers or new pop-ups. I'm personally more like pop-ups. For example pop-up with a few buttons "apply X filter with Y settings", pop-up what contain color selector+recent colors+color sliders. My little dream is to make my own pop-up palette, with big color selector, more brush presets and maybe some filters.

Another idea is plugin to enhance hotkey system. First - hotkeys for brush presets (as I know it's planned). Second idea is more hotkey types: Hold hotkey (hold Shift to blend color with another preset, like in 3d sculpting programs), Cycle hotkey (press Y - lasso selection, press Y again - polygonal selection, again - round selection, etc), maybe Toggle (like eraser mode).
User avatar
kamathraghavendra
Registered Member
Posts
234
Karma
4
OS
One of the ideas I had fro scripting is , HUD search menu.
I don't know how feasible it is.

A working example would be blender, wherein pressing spacebar invokes the search and it searched through command and menus as we type.

This kind of menu, tool and action search would be of great help in canvas only mode.

Check this video a similar tool for gimp is demonstrated -> https://www.youtube.com/watch?v=G0PuH1LFWhA

The search process will be as follows

User presses a hotkey or shortcut for initiating the search bar.
User types in name of the menu for example Gaussian blur.
A result appears as he types, he can then click on it and trigger the command or menu.


Thank you and best of luck for your project. :)


Double Dee
Registered Member
Posts
20
Karma
0
I have an idea for scripted brushes.
How it works:
It is a new docker for additional brush settings, that are depended on individual brushes, that script is attached to. Every brush can be scripted for displaying different additional options. It will allow for more flexibility in creating brush presets.
Examples:
Texture offset switch - switches between fixed and random texture offset
No tilt mode switch - switches between rotation depended on pen tilt and drawing angle
Amount of rotation randomness slider - slider that controls "fuzzy dab" curve for rotation
User avatar
Quiralta
Registered Member
Posts
301
Karma
5
OS
Another idea could be one that is already planned for the scripting support: Image Reference Docker (also paid for in the kickstarter if I remember correctly). I think a very (a least) primitive form of this component would be a good showcase for this project, and will in turn help to tackle two expected features in one.

I think that for starters the docker (or how ever will be called: widget, panel, plugin?) could have a very simple functionality, many people in fact ask for it, and one of the main reasons is because the existing one can't remember the last folder used or redefine a existing path. that function along will definitely turn into many smiles among users, initials features should be simple I'm guessing:

Keep image above all open canvases.
Remember last used/or predefined location.
Rotate image/s.

(and for future reference, after all this is been properly "baked", rotation synchronization would be a cool feature for the image reference; rotating the canvas will rotate the ref image accordingly ;D )


Self educated by a very bad teacher!
My Stuff
User avatar
eliakinalmeida
KDE Developer
Posts
3
Karma
0
OS
Thanks everyone, you are amazing!!! Your suggestions helped me a lot.

I'm excited to implement new stuff too. ^-^
Gremriel
Registered Member
Posts
14
Karma
0
I'd love to see a publish to web plugin :)
otsoa
Registered Member
Posts
5
Karma
0
Hi !

A script to switch between the normal brush and the blend brush, but I hope we can make our own scripts !?
User avatar
DNart
Registered Member
Posts
75
Karma
2
OS
A script to quickly duplicate a brush preset would be nice, like with a shortcut key.


User avatar
Mike A.
KDE Developer
Posts
41
Karma
0
OS
Some CG workflow automation suggestions:

Pack 3 greyscale textures into r/g/b channels of an image and export as .PNG

Convert normal map between directx/OpenGL (by inverting the green channel)

Arrange four 1k images into a single 4k image
User avatar
Mike A.
KDE Developer
Posts
41
Karma
0
OS
ramskulls
Registered Member
Posts
134
Karma
2
Oh!! Do you think it's possible to modify the pop-up palette? Or make a pop-up like the color history popup that shows up when you press 'H'? I'd super love that to change that to a custom palette. <3
User avatar
Metallicow
Registered Member
Posts
53
Karma
0
OS
Going back to my modding days we had this.
Dynamic Map has a tool we used called ImageStitcher. It is a tool to stitch cell images together. Created by Timeslip.
Similar to Image stitching with map tiles.
I used photoshop when I did a Shivering Isles Map from exported localmaps, but beware the image became so big It even brought photoshop to a crawl.
Here is a pic of a Cyrodiil Map done this way. The end map dds exported where a LOT smaller than when being edited on.


Photomosaic is also neat idea. I made one of these into a huge walkaround demo mod also.




Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan