Zagna

OpenRaster Filetype

Recommended Posts

1 hour ago, Reptillian said:

Here's the name info inside stack.xml in .ora, and it's not they made the patch. I made the patch actually.

I'm thinking…. when saving, save either svg:x or pdn:x.

When loading, if svg:x fails, split the op at the ':' and then try to load it so that for example krita:glow gets split, ('krita','glow'), ignore the first part and try to load pdn:string[1].

And you could add pdn:glow, pdn:negation & pdn:reflect to Krita's kis_open_raster_stack_load_visitor.cpp?

OpenRaster4Test.zip

Edited by Zagna

Share this post


Link to post
Share on other sites

With that update, only XOR didn't get loaded from Krita ora. I could try to add those to the cpp file whenever I get the chance.

Edited by Reptillian

Share this post


Link to post
Share on other sites
12 minutes ago, Reptillian said:

With that update, only XOR didn't get loaded from Krita ora. I could try to add those to the cpp file whenever I get the chance.

Krita is saving it as krita:xor instead of svg:xor since XOR is missing from kis_open_raster_stack_save_visitor.cpp. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.