Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
migrating 2.8 bash scripts to gimp 3
#7
Sorry for the previous message, I got lost. Here is a working solution (that from MrsP-from-C):


Code:
gimp -i --quit --batch-interpreter=plug-in-script-fu-eval -b \
"(\
    let*(\
        (image (car (file-png-load 1 \"input.png\")))\
        (my-drawable (vector-ref (car (gimp-image-get-selected-drawables image)) 0))\
    )\
    (gimp-drawable-desaturate my-drawable 0 )\
    (file-png-export 1 image \"output.png\")\
)"

Now, I notice the good old plug-in-colortoalpha is absent from the procedure browser. Sad
Reply


Messages In This Thread
migrating 2.8 bash scripts to gimp 3 - by vince - Yesterday, 11:53 AM
RE: migrating 2.8 bash scripts to gimp 3 - by vince - 2 hours ago

Forum Jump: