Post Reply 

Plugins in Batch Mode

Jan 19, 2014, 18:36
Post: #1
Plugins in Batch Mode
Hi everyone,
I am new to GIMP, and was wondering if anyone could help me with my problem.
I am wanting to make a batch file that automates the task of scanning in photos.

Here is what I currently do:
I scan in one or two pictures into the same file.
I then open the scanned in image in GIMP, and then use the Divide Scanned Images ( plugin in combination with the Deskew ( plugin to create an output of two seperate image files.

This is quite a tedious task, especially with the 1000+ stack of photos that I have.

I already have a script that automates the process of scanning in the image for me, but I really need a script that opens GIMP, and runs the Divide Scanned Images plugin, preferably without the GIMP user-interface.

Does anyone know of how I could do this?

Thanks in advance
Find all posts by this user
Quote this message in a reply
Jan 20, 2014, 09:29 (This post was last modified: Jan 20, 2014 09:41 by iForStyle007.)
Post: #2
RE: Plugins in Batch Mode
The quickest way to get the most photos scanned in short time would be to align as much as you can on the scanner at one time..

There also is a built in guillotine (splicing) feature in Gimp among other methods & a G'MIC plug-in mentioned towards the end of the thread:

Also as Batch image processing is a popular theme on here, imageMagick has been suggested and worth taking a look at/trying:

There are a few other alternatives for batch image processing on here I think(will try to get back to you on them if I can find them, no promises...)

EDIT/Update: K, found it, also scroll down past the linked post as The user of the thread found a program that met their issue with similar function.:

"In order to succeed, your desire for success should be greater than fear of failure." BC
[Image: 29uocaf.png]
iFS007 tut vids on YT ~ auto color B&W landscape tut
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 20, 2014, 10:22 (This post was last modified: Jan 20, 2014 10:25 by rich2005.)
Post: #3
RE: Plugins in Batch Mode
I personally prefer the one photo scan as Ofnuts post, but

This is the page for Gimp batch processing
reads like sanskrit to me, you would have to call dividescannedimages with 13 variables.

Can I suggest an alternative.

Separate the process into two parts
bulk scanning and dividing the images.

If you are using linux, XSANE has a batch mode.
If you are using Windows and your scanner software does not have a batch function, (eg. it might have a one-touch button function), then IrfanView is a fair stand-in. Irfanview, just calls up the scanner TWAIN interface, but after that it is just load the photos, click the scan icon. You will end up with a series of named and numbered images as you set up in Irfanview.

Back to Gimp and DivideScannedImages. DivideSannedImages has a batch mode.
You need an image open, can be empty, for the script to show.
Filters -> Batch -> DivideScannedImages
Point it at the folder with all the previously scanned images.
Select a different folder for the output (not the same as the source or it will crash)
Set it going and it will divide and save with incremental numbers.

Just tried it, does work.

** now answering questions**
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Batch create images from array edmilner 1 793 Jul 17, 2017 16:41
Last Post: ythgilb
  How to close gimp with batch command? flixe 1 851 Jun 19, 2017 12:29
Last Post: ythgilb
  Bashing my head - Batch Python Script nmiltner 1 904 Sep 5, 2014 00:58
Last Post: nmiltner
  Batch processing script Help jarboe3142 1 774 Jun 1, 2014 18:45
Last Post: rich2005
  GIMP batch process script run-time error Paddy Landau 2 1,760 Apr 8, 2014 20:33
Last Post: Paddy Landau

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS