mihvel wrote:
I'm playing a bit with the
BIMP Plug In and it can do batch with all steps from the algorithm except layer manipulation, or I can't get it how to do it.
Does anybody know hop to duplicate a layer and change the layer mode using BIMP?
Using ScanTailor? Could be Linux or Windows. Easier in linux where at least there are a few tools.
Using gmic_gimp and BIMP in linuxDavid provides (provided, I think it has been updated) a script that BIMP will pick up.
The old one which I use is called
gmic_shell.scm where you can enter one or more gmic commands. There is one here:
https://github.com/dtschump/gmic/tree/master/src gmic_in_script.scm Never used that one, so this example using the old script.
Picked this example off the internet,
https://i.imgur.com/ekNnxMw.jpg obviously all depends on the actual images. (EDIT: Only just seen your muxed imgur ref: but not repeating with new image)
Using gmic_gimp_qt & Gimp 2.8.22 there is a filter
Repair scanned document https://i.imgur.com/RGxGAQP.jpg The important bits here are the new image and Very verbose (log file) settings. You need the settings to input into the script.
You are not stuck with one command, choose another filter and same rules apply. Write the settings to the log file.
https://i.imgur.com/eesDlYo.jpg Now for the editing bit: In linux the gmic folder is in ~/.config/gmic Windows is in user/Appdata/Roaming somewhere.
Copy the output from the log file into the script according to the example and save it
https://i.imgur.com/F8gFVkm.jpghttps:// ... kNnxMw.jpgPop the script into your Gimp profile scripts folder. You can check the action on an open file, the script shows bottom of the Filters menu along with gmic.
but using BIMP: Only one action required, Other Gimp Procedure -> gmic-shell. Add your files, set an output. Very slow, go for a long walk while it works.
https://i.imgur.com/JPkpRhX.jpgAttached the old gmic_shell.scm script as an example
For Gmic see
www.gmic.eu