It is currently Sat Jun 29, 2024 11:26 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Reading XCF
PostPosted: Sun Apr 11, 2021 2:56 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 06, 2021
Posts: 6
GIMP Version: 2.10.22
Operating System: Windows
OS Version: 10
GIMP Experience: New User



I've started a project of photo manipulation recently, I am looking forward to give new life for some photos, I'm a "good could be better" kind of guy, so after getting a pretty good result I decided make another version of the same work. I've applied the desaturate, color curves and brightness-contrast commands to both files, but my first artwork looks better.

I wanna know if it's possible to open a xcf file in a text editor in order to find how effects were applied to an image and the settings of those effects.

PS: I have experience with Inkscape, in Inkscape is possible to read the settings applied to a svg file, as svg are defined as xml files.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Reading XCF
PostPosted: Sun Apr 11, 2021 11:29 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
I don't think XCF stores any data of applied filters, but I can't swear this.
You can save as many pre-configured settings as you want. My tactic (sometimes) is to create saved settings with logical titles, and after applying it, I add it to the layer name/attributes. Separated with commas or inside brackets, what ever you like to use.

If you're looking a way to apply easily same multiple filters/effects, I recommend checking out G'mic and Bimp plug-ins.

Even if there was a way to read XCF image/layer data outside Gimp, you would still have the problem of "pixel reality".
After applying an effect on image, undo (or copy of original) is the only way to return to the starting point. Otherwise it would be just doubling the same effect.
That's the difference with vectors (Inkscape) and pixels (Gimp).

Attachment:
savesettings.png
savesettings.png [ 348.02 KiB | Viewed 1085 times ]


Top
 Post subject: Re: Reading XCF
PostPosted: Mon Apr 12, 2021 5:11 am  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4752
marino_xd wrote:
GIMP Version: 2.10.22
Operating System: Windows
OS Version: 10
GIMP Experience: New User



I've started a project of photo manipulation recently, I am looking forward to give new life for some photos, I'm a "good could be better" kind of guy, so after getting a pretty good result I decided make another version of the same work. I've applied the desaturate, color curves and brightness-contrast commands to both files, but my first artwork looks better.

I wanna know if it's possible to open a xcf file in a text editor in order to find how effects were applied to an image and the settings of those effects.

PS: I have experience with Inkscape, in Inkscape is possible to read the settings applied to a svg file, as svg are defined as xml files.


No. The best you can do is use the image comments to note down what you did.

In an SVG file you can find the effects in the XML because an SVG file is essentially instructions for a rendering, which happens only when some one views the image. But in Gimp, rendering is done on the spot and Gimp only keeps the result of the rendering as layers/channels. The only "delayed" rendering is the composition of the layers. This is essentially the difference between vector graphics (Inkscape, Illustrator) and raster graphics (Gimp, Photoshop).

_________________
Image


Top
 Post subject: Re: Reading XCF
PostPosted: Mon Apr 12, 2021 1:38 pm  (#4) 
Offline
GimpChat Member

Joined: Apr 06, 2021
Posts: 6
Thanks, Nidhogg and ofnuts!

After thinking for a while I've figured out how silly my question is, even if xcf format could be read as a text, I can't imagine how difficult it'd be read such files!

Quote:
No. The best you can do is use the image comments to note down what you did.


Nice tip, I'm gonna take notes of my work, this could be very helpful.

Cheers!


Top
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Reading multiple paged PDF - extracting images from

24

No new posts Attachment(s) reading a folder of text files (problem solved)

3



* Login  



Powered by phpBB3 © phpBB Group