coa_tools icon indicating copy to clipboard operation
coa_tools copied to clipboard

Krita export layers to json file

Open songproducer opened this issue 8 years ago • 26 comments

songproducer avatar Sep 27 '16 22:09 songproducer

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.

ndee85 avatar Sep 28 '16 05:09 ndee85

Thank you @ndee85 I am looking forward to Krita's scripting API as well

blurymind avatar Sep 28 '16 08:09 blurymind

hello, sorry i dont understand..

so i want to know how i will export from krita to json for blender?

manuelsongokuh avatar Jan 09 '17 14:01 manuelsongokuh

@manuelsongokuh For now just export .ora from Krita to gimp and then use Gimp exporter to export that json to blender.

OBKF avatar Jan 12 '17 09:01 OBKF

yes i see this i did done it but not from krita to export.. maybe in the future..so thank you

manuelsongokuh avatar Jan 22 '17 17:01 manuelsongokuh

https://krita.org/en/item/look-new-presets-another-krita-4-development-build/ <- Python scripting finally available in the Linux appimage builds!

larpon avatar Feb 20 '18 11:02 larpon

Yes.. I am planning to do this. Making myself familiar with the krita scripting API.

ndee85 avatar Feb 21 '18 09:02 ndee85

I made a little donation to get you started :)

larpon avatar Feb 21 '18 09:02 larpon

I've seen it. Thanks a bunch for the support :-) :+1:

ndee85 avatar Feb 21 '18 09:02 ndee85

thank you @ndee85

you can open crowdfund or Kickstarter for you developing this coatool..?

manuelsongokuh avatar Feb 21 '18 09:02 manuelsongokuh

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 avatar Feb 21 '18 09:02 ndee85

@ndee85 where i find your patreon..? link?

manuelsongokuh avatar Feb 21 '18 09:02 manuelsongokuh

https://www.patreon.com/andreasesau

ndee85 avatar Feb 21 '18 09:02 ndee85

i did start donation to you patreon. and i nave send message to you.. thank you

manuelsongokuh avatar Mar 05 '18 12:03 manuelsongokuh

This would be amazing if you could do it! :D Thanks

Fireruner avatar Oct 25 '18 12:10 Fireruner

Can this be used within COA Tools?

https://github.com/GDquest/GDquest-art-tools

vini-guerrero avatar Mar 01 '19 20:03 vini-guerrero

@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...

NathanLovato avatar Mar 02 '19 07:03 NathanLovato

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

larpon avatar Mar 03 '19 13:03 larpon

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 image It supports JSON, YAML and QML right now

larpon avatar Mar 03 '19 13:03 larpon

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!

vini-guerrero avatar Mar 03 '19 16:03 vini-guerrero

@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 avatar Mar 04 '19 07:03 NathanLovato

@NathanLovato yeah sure - I'll check your stuff out today 🙂

larpon avatar Mar 04 '19 07:03 larpon

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.

larpon avatar Mar 16 '19 13:03 larpon

This is working and can be closed.

faridosc avatar Apr 17 '20 05:04 faridosc

Yes. There's also ongoing efforts to include and ship the exporter python dependencies with Krita!

larpon avatar Apr 17 '20 13:04 larpon

Update The exporter is now in Krita master branch

larpon avatar Jun 02 '20 10:06 larpon