Jump to content

OpenRaster Filetype


Zagna
 Share

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

sig.jpg.7f312affa740bae49243c4439bc4a244.jpg

Link to comment
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. 

sig.jpg.7f312affa740bae49243c4439bc4a244.jpg

Link to comment
Share on other sites

  • 1 year later...

@Zagna I don't know if you're aware of this, but there has been talks on changing the ORA file format specification. You could add your input to any of these links pertaining to .ora file format. I did mentioned about XOR, and Reflect, Glow Blending Modes to InkLab.

 

https://old.reddit.com/r/GIMP/comments/eu0vrq/discussion_on_ora_format_standard_changes/

https://old.reddit.com/r/krita/comments/eu182w/discussion_on_ora_format_standard_changes/

https://krita-artists.org/t/call-for-help-assist-development-of-ora-format-providing-kra-psd-or-other-source-files/3482

 

Edited by Reptillian

G'MIC Filter Developer

Link to comment
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.

 Share

×
×
  • Create New...