RSS/Atom feed Twitter
Site is read-only, email is disabled

Extract photos from scan

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

4 of 4 messages available
Toggle history

Please log in to manage your subscriptions.

Extract photos from scan bunnyflip 21 Jul 20:09
  Extract photos from scan rich404 22 Jul 08:23
   Extract photos from scan bunnyflip 22 Jul 18:56
    Extract photos from scan rich404 22 Jul 21:05
2018-07-21 20:09:38 UTC (almost 6 years ago)
postings
2

Extract photos from scan

I have about 200 scans of old black-and-white photos. There were always 4 photos glued on a white A4 paper looking something like this:

---------------------------------------- | | | ---------- ------------ | | | | | | | | | | | | | | | | | | | | ---------- ------------ | | | | ---------- ------------ | | | | | | | | | | | | | | | | | | | | | | | | | | ---------- ------------ | | | ----------------------------------------

What ist the best most automated way to extract those 4 photos as single images?

rich404
2018-07-22 08:23:28 UTC (almost 6 years ago)

Extract photos from scan

I have about 200 scans of old black-and-white photos. There were always 4 photos glued on a white A4 paper looking something like this:

---------------------------------------- | | | ---------- ------------ | | | | | | | | | | | | | | | | | | | | ---------- ------------ | | | | ---------- ------------ | | | | | | | | | | | | | | | | | | | | | | | | | | ---------- ------------ | | | ----------------------------------------

What ist the best most automated way to extract those 4 photos as single images?

More information required. Mainly, what is your operating system?

For linux (and maybe OSX) not Gimp but an ImageMagick bash script There is a ready made one, although that would have to be wrapped up in another to cycle through the 200 scans.

For Windows There is an old script, DivideScannedImages.scm, with a batch function but it will not work with Gimp 2.10 (very flaky with Gimp 2.8) The solution is temporarily install Gimp 2.6 just for the 200 scans.

Let me know if you want to pursue either of those.

rich: www.gimp-forum.net

2018-07-22 18:56:59 UTC (almost 6 years ago)
postings
2

Extract photos from scan

Mainly, what is your operating system?

OS is linux

For linux (and maybe OSX) not Gimp but an ImageMagick bash script There is a ready made one, although that would have to be wrapped up in another to cycle through the 200 scans.

For me it doesn't matter if ImageMagick is the right tool for this job. And one more loop in a bash script should be no problem.

So the tasks the script should manage is to detect those in itself always rectangular pictures ( but not necessarily rectangular in relation to the A4-sheet). I think there ist always a remarkable contrast line between the photograpy and the white background

Then it should extract / copy those found images into seperate files

TIA

rich404
2018-07-22 21:05:33 UTC (almost 6 years ago)

Extract photos from scan

OS is linux
For me it doesn't matter if ImageMagick is the right tool for this job. And
one more loop in a bash script should be no problem.

So the tasks the script should manage is to detect those in itself always
rectangular pictures ( but not necessarily rectangular in relation to the
A4-sheet). I think there ist always a remarkable contrast line between the photograpy and the white background

Then it should extract / copy those found images into seperate files

TIA

Have a look at this page for the script multicrop

http://www.fmwconcepts.com/imagemagick/multicrop/index.php

Any problems you can ask Fred directly on the IM forum

https://www.imagemagick.org/discourse-server users section

rich: www.gimp-forum.net