Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
i want to write a xcf file creation plugin
#5
(12-18-2016, 08:17 PM)Ofnuts Wrote: See ofn-coalesce-images.
  • It adds a "Coalesce images" at the bottom of the File menu
  • When you hit it, you get a dialog asking for two directories:
    • The root of all the directories with the input files
    • The directory where the XCF will be saved (recommendation: not in the input tree)
  • The script scans all files under the root tree, and attempts to create XCF files by stacking all the file with the exact same name in the varoius directories.
Warnings:
  • More of the "full-speed ahead and damn the torpedoes" kind. Doesn't catch errors or try graceful recovery.
  • Files should have the very same name (no case variations) and extension.
  • Layers are stacked in directory name order (bottom being first).
Enjoy

this is amazing. with some slight adjustments its even exactly what i wanted which i didn't think was possible. but i was wrong  Big Grinhttps://gist.github.com/plexigras/d07a37...c6f0b7a600

thank you sooooooooo much.

i modified it so it replicates the file structure and supports infinite amounts of input directory's by making it so you have to place/link the input directory's in to the root folder.
Reply


Messages In This Thread
RE: i want to write a xcf file creation plugin - by plexigras - 12-26-2016, 12:46 PM

Forum Jump: