It took me a lot of time to create a graphic in GIMP, and now I need to make some variations of the same graphic that actually only require the change of the FG color twice in the process.
The GIMP "raw" files are created as XCF. If I look inside (using Emacs
), while it's a binary file, I can distinctly see a text command, like
(fgcolor (color-rgba 0.000000 0.000000 0.000000 1.000000))
It would appear to me that GIMP stores - in its own binary format - a list of commands that it "replays" when the XCF is opened(?).
Maybe not - anyway my point is to have an editable list of "commands" (or similar) that could be text-editable, this way I would just change the two FG lines and a copy of the file to get the variations.
I need to repeat that process 10+ times, and such a text approach - Perl scriptable for instance - would save a lot of time.
Is it possible? Are there other ways to do this that do not require to open the XCF and repeat the whole long process while changing only the FG?