Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where Do I Even Start?
#1
Hello Everyone,

First post.  I'm using the GIMP 2.10.14 on macOS Sierra.  I'm not sure if it's worth the effort, but I'm trying to create a script to perform 3 or 4 menu functions on a PNG file once I've opened it.  I have a LOT of files to process, but I'd prefer not to use any sort of batch mode.  I need to see each file to make sure it doesn't need any additional work.

Below are the commands I need to script and the Script-Fu procedures I think I could use.


Brightness-Contrast
  • Been using Colors, Brightness-Contrast...
  • Found (gimp-drawable-brightness-contrast drawable brightness contrast)

Sharpen
  • Been using Filters, Enhance, Sharpen (Unsharp Mask...)
  • Found (plug-in-unsharp-mask run-mode image drawable radius amount threshold)

Posterize
  • Been using Colors, Posterize...
  • Found (gimp-drawable-posterize drawable levels)

I do those same three operations with the same settings on every file.  It ought to be as simple as dumping those three lines into a file with the numerical values filled in and pressing play.  It's not.

The procedures won't work because "drawable" is undefined.  I'm sure everyone reading this will know what drawable is, but Google and I don't.  Is it the file name?  How do I capture that and transfer it into each function?


Thanks,
Bill
Reply


Messages In This Thread
Where Do I Even Start? - by JustaBill - 06-02-2020, 07:26 PM
RE: Where Do I Even Start? - by Ofnuts - 06-02-2020, 10:56 PM
RE: Where Do I Even Start? - by rich2005 - 06-03-2020, 10:58 AM
RE: Where Do I Even Start? - by JustaBill - 06-03-2020, 12:32 PM

Forum Jump: