123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|590|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> Photo Extractor

Sat, 16 Jul 2016, 07:15
Jayenkai
If anyone would like to take this, and neaten it up a bit, feel free. Sourcecode is included. Let me know if you make a bazillion dollars out of it.

Beware : May be (probably are..) memory leaks!

Basic Gist
I tend to scan batches of photos at a time, dumping them into the scanner-tray, hitting scan, and then dealing with them later.
This results in LARGE images, with clusters of photos, that I have to manually cut out.

I used to have a tool to do this, but I've long since lost that driver-disk, and hunting for a similar tool online resulted in nothing but fucking pricetags.

So.. Sod that, I'll make my own.

Download - With (Extremely fucking messy) BlitzMax Sourcecode

Stick your scanned "Batches" into the input folder. Any size will do, as the app admirably copes with anything ... assuming your system can handle it!!

Expect lots of flickering as I had to close and reopen the window whenever the app loads the next image, or it would oddly not quite load the next image properly..
Silly memory issues!!


Select the background colour of your scanner, and the app should attempt to find any/all photos within the image.
Click within a none-selected area to find new photos.
Click within a selected photo to rotate it's orientation.
Rightclick within a selected area to deselect it.

Once all photos are selected, hit the crop button (or Spacebar), and your images will (*should!) end up inside the Output folder, correctly rotated, and ready for use.

All should work as expected, but like I said, it's been VERY messily cobbled together over the past couple of days.
Bad fast-paced coding within!!!

Note : Although it does handle orientation, it only does so in 90degree increments, so try to scan your photos as aligned to the sides as you can!
It's usually easy enough as the edges of the scanner help to align them.

-=-=-
''Load, Next List!''