coa_tools
coa_tools copied to clipboard
Krita export layers to json file
Once Krita has a scripting API I'll add an exporter for it. Last kickstarter campaign funded scripting as one new goal. So this is just a matter of time.
Thank you @ndee85 I am looking forward to Krita's scripting API as well
hello, sorry i dont understand..
so i want to know how i will export from krita to json for blender?
@manuelsongokuh For now just export .ora from Krita to gimp and then use Gimp exporter to export that json to blender.
yes i see this i did done it but not from krita to export.. maybe in the future..so thank you
https://krita.org/en/item/look-new-presets-another-krita-4-development-build/ <- Python scripting finally available in the Linux appimage
builds!
Yes.. I am planning to do this. Making myself familiar with the krita scripting API.
I made a little donation to get you started :)
I've seen it. Thanks a bunch for the support :-) :+1:
thank you @ndee85
you can open crowdfund or Kickstarter for you developing this coatool..?
I actually have a patreon page. But I want to make it more prominent in the future. Planning on creating a dedicated website for coa tools. And Patreon will be more visible on that page. :-)
@ndee85 where i find your patreon..? link?
https://www.patreon.com/andreasesau
i did start donation to you patreon. and i nave send message to you.. thank you
This would be amazing if you could do it! :D Thanks
Can this be used within COA Tools?
https://github.com/GDquest/GDquest-art-tools
@vini-guerrero not now, but someone could contribute the code to export the JSON COA uses for import. We already have the code to generate the folder and file structure, trim the images...
Hmm. I made a JSON exporter a while back in Krita - but I ended up struggling with the UI for it - I'll try to and see what I can contribute
I've made a more general solution to export document and layer meta data in different formats.
But it's a mess right now - and should be cleaned up. I've hacked a layer export into as well but stopped because Krita lacked some scripting functionality I needed
It supports JSON, YAML and QML right now
I have a friend who was able to run COA_Tools in Godot 3.1 with a few changes in source in the code, however the JSON file he used from Photoshop, would be nice if we could match the same json with Krita. That one seems really good @Larpon nice job!
@Larpon Nice! Would you consider contributing some code to our FOSS add-on? https://github.com/GDquest/GDquest-art-tools
We have a flexible batch export system in place, wrapper classes to help work with Krita's layers much more easily than by default. The ability to export wanted layers as JSON would be great, especially if it means adding support for COA tools or tools like e.g. Spine.
Razvan worked around the limitations of Krita's export system, and he's also fixed some issues in Krita's Python API for Krita 4.2
@NathanLovato yeah sure - I'll check your stuff out today 🙂
Just leaving a note here, for anyone interested, to say that I contributed rudimentary COA Tools export to GDquest-art-tools. I'll be happy to contribute to this project as well. I think it should be done without patching Krita though - which I think might require some dialogue with the krita dev team.
This is working and can be closed.
Yes. There's also ongoing efforts to include and ship the exporter python dependencies with Krita!
Update The exporter is now in Krita master branch