7

I often use my scanner to scan multiple small receipts. I can fit 10 small receipts on a page. I'd like to save these receipts, each to a separate file. I can do this easily with copy and paste, but is there a program that makes this process faster?

Update: I'm on Windows 7, should have mentioned that.

9

3 Answers 3

4

If you use a standard layout for them then you can do it from the command line with imagemagick - takes a little bit of playing around with the options but once you have got them you can use from a batch file.

Once you have got into imagemagick you can possibly use a coloured background for your scans - say red - that is unlikely to appear on your receipts and use the scripting language to split the file up based on where the background is showing - Fred's Image Magic scripts is well worth a look. There also is an example script here - in bash scripting that will split an image vertically as a starting point.

Imagemagick is free & multiplatform.

1
  • Command line doesn't help me, because the receipts are different sizes every time so I need to specify manually where to cut. Regarding the script, I'm looking for a ready solution, not something I'll have to tinker with. Thanks for your help.
    – Ram Rachum
    Commented Jul 10, 2015 at 19:26
1

My suggestion is to use Gimp, either manually as described below, or using the script Divide Scanned Images1 2 for automatic detection.

As it gives me better control, I would open the scanned image, and repeat following:

  • Mark with rectangle a given receipt
  • Copy, Ctrl+c (or Cut, Ctrl+x)
  • Use Edit > Paste As > New image, Shift+Ctrl+v 3

After copying/cutting all receipts, I would close original image, and save each receipt with a proper name.

A variation of this is to do the following:

  • Duplicate image, Ctrl+d
  • Mark rectangle with receipt
  • Crop to selection, Shift+C
  • Save, Ctrl+s
  • Close window, Alt+F4 (returning to original image)

Note that the link provided from SuperUser, lists this example, the "Divide Scanned Images" script, and some other methods, including one using ImageMagick which looks kind of interesting if you are into command line scripting.

1 Can the Gimp split an image into multiple images? from SuperUser SE
2 https://irfanview-forum.de/showthread.php?t=6781#post37213
3 Little uncertain on shortcuts as I use a Mac when writing this answer

0

You can try Lightshot. You're able to size any rectangle you want on your screen. Lightshot also includes many features like drawing, copying selected area to the clipboard, or uploading the selected area to the cloud.

1
  • 1
    The fact it's a screenshot is a problem, I'd lose scan quality. But thanks for the link.
    – Ram Rachum
    Commented Jul 10, 2015 at 17:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.