Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gimp XCF file format #17

Closed
blackearth2014 opened this issue Jun 22, 2014 · 19 comments
Closed

Gimp XCF file format #17

blackearth2014 opened this issue Jun 22, 2014 · 19 comments
Milestone

Comments

@blackearth2014
Copy link
Contributor

Can Natron read Gimp's multi-layer image format. I use for all of my graphics and matte painting work on the Mac. It would save a lot of time to be able to have this feature.

@devernay
Copy link
Collaborator

Requires writing an Xcf reader in openfx-io
Please file an issue in openfx-io, and if you have a source for a usable xcf reader (non-gpl), please point to it

@devernay devernay reopened this Jun 23, 2014
@olear
Copy link
Collaborator

olear commented Jul 1, 2014

ImageMagick/GraphicsMagick is able read xcf, http://sourceforge.net/p/graphicsmagick/code/ci/default/tree/coders/xcf.c

@MrKepzie
Copy link
Owner

MrKepzie commented Jul 1, 2014

I guess making an image magic reader would be helpful then
On Jul 1, 2014, at 2:17 AM, Ole Andre Rodlie notifications@github.com wrote:

ImageMagick/GraphicsMagick is able read xcf, http://sourceforge.net/p/graphicsmagick/code/ci/default/tree/coders/xcf.c


Reply to this email directly or view it on GitHub.

@fPaglia
Copy link

fPaglia commented Jul 1, 2014

It would be very helpful if you can read separate layer so that a XCF
project file can become an already layered project in natron
Pretty like other software does with PSD files

2014-07-01 8:45 GMT+02:00 Alexandre Gauthier notifications@github.com:

I guess making an image magic reader would be helpful then
On Jul 1, 2014, at 2:17 AM, Ole Andre Rodlie notifications@github.com
wrote:

ImageMagick/GraphicsMagick is able read xcf,
http://sourceforge.net/p/graphicsmagick/code/ci/default/tree/coders/xcf.c


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#17 (comment).

Francesco Paglia
Vfx and Production Supervisor

mobile +39 347.82.12.473
e-mail f.paglia.80@gmail.com

@MrKepzie
Copy link
Owner

MrKepzie commented Jul 1, 2014

The thing is the concept of layer doesn't translate automatically into Natron. The only thing we could do is add a choice box in the settings of the reader where you could choose the layer it reads

@fPaglia
Copy link

fPaglia commented Jul 1, 2014

I see.
Maybe the concept of layer can be easily translated in a series of read
each of which point to a layer of the original XCF.

2014-07-01 9:23 GMT+02:00 Alexandre Gauthier notifications@github.com:

The thing is the concept of layer doesn't translate automatically into
Natron. The only thing we could do is add a choice box in the settings of
the reader where you could choose the layer it reads


Reply to this email directly or view it on GitHub
#17 (comment).

Francesco Paglia
Vfx and Production Supervisor

mobile +39 347.82.12.473
e-mail f.paglia.80@gmail.com

@blackearth2014
Copy link
Contributor Author

That would be nice, but the graph layout in its current development would be overwhelming. We would need a group node like in nuke to house the multitude of layers. Also, the compositing modes will have to be coded into Natron as well. Natron doesn’t have some of the layer modes.

On Jul 1, 2014, at 3:29 AM, Francesco notifications@github.com wrote:

I see.
Maybe the concept of layer can be easily translated in a series of read
each of which point to a layer of the original XCF.

2014-07-01 9:23 GMT+02:00 Alexandre Gauthier notifications@github.com:

The thing is the concept of layer doesn't translate automatically into
Natron. The only thing we could do is add a choice box in the settings of
the reader where you could choose the layer it reads


Reply to this email directly or view it on GitHub
#17 (comment).

Francesco Paglia
Vfx and Production Supervisor

mobile +39 347.82.12.473
e-mail f.paglia.80@gmail.com

Reply to this email directly or view it on GitHub.

@devernay
Copy link
Collaborator

devernay commented Jul 1, 2014

You mean a group node with several outputs? that would be great

@blackearth2014
Copy link
Contributor Author

I am talking about an other type category node like the Dropbox node but this node encloses or combine all the nodes into one node that shows up in the graph. When you double click the node it opens up a sub graph with the other layers files with the merge nodes.

Please visit this link to see what I am talking about - http://youtu.be/19w3vkFp5X0.

The group node with multiple outputs does sounds interesting.

This is your season
Omar Brown
Blessed House Media

On Jul 1, 2014, at 4:09 PM, Frédéric Devernay notifications@github.com wrote:

You mean a group node with several outputs? that would be great


Reply to this email directly or view it on GitHub.

@MrKepzie
Copy link
Owner

MrKepzie commented Jul 2, 2014

I can tell you that with what we're developing for the Tracker interface, implementing group of nodes is a few lines of code away

@devernay devernay added this to the 1.1 milestone Jul 3, 2014
@olear
Copy link
Collaborator

olear commented May 16, 2015

Getting old, will start to look into a XCF/PSD reader with layers. Can't give any time frame since I'm very busy this summer, but have usually weekends free.

@blackearth2014
Copy link
Contributor Author

Great

@olear
Copy link
Collaborator

olear commented May 16, 2015

I'm able to extract layers, is the complete image required(all layers on top of each other, what you see in gimp)? If so will take some more effort, also unsure if all features from Gimp can be implemented. I do know that Inkscape/Krita uses GraphicsMagick, so I should at least be able to replicate what they do.
testxcf

Still a long way from a complete plugin, just testing.

@olear
Copy link
Collaborator

olear commented Jun 22, 2015

Sorry for the late reply, but got some time today to make a proper read node, stuff seems to work, and I can soon provide a ReadXCF and ReadPSD plugin.

@blackearth2014
Copy link
Contributor Author

Thanks

@olear
Copy link
Collaborator

olear commented Jun 22, 2015

I did however notice that exporting to PSD from GIMP produces better image in Natron than loading the XCF... Could be some merge option used in the XCF or something.

@olear
Copy link
Collaborator

olear commented Jun 22, 2015

Current state:
screenshot-10
screenshot-11

@MrKepzie
Copy link
Owner

I'm closing this since it's taken care of in openfx-arena

@olear
Copy link
Collaborator

olear commented Jun 30, 2015

Still not complete, but soon.

On 30 June 2015 23:01:50 CEST, Alexandre Gauthier notifications@github.com wrote:

I'm closing this since it's taken care of in openfx-arena


Reply to this email directly or view it on GitHub:
#17 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants