LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-19-2019, 05:56 PM   #1
dengel
LQ Newbie
 
Registered: Jun 2003
Distribution: Arch Linux
Posts: 23

Rep: Reputation: 0
Scanner control software with auto crop?


Hello,

I have one of those feed-through (not flatbed) scanners. There is a program for Windows that will keep scanning (and saving) images as long as I keep feeding them every so many seconds. Furthermore, this program automatically detects the size of the scanned picture and saves only the area containing the picture (even though a large area is returned by the scanner.)

This lets me use the following workflow with multiple pictures of varying sizes:

1. Turn on the scanner.
2. Start the software.
3. Select the save directory.
4. Insert a picture in the scanner.
5. Tell the software "start scanning"
6. Insert the next picture.
7. Goto 6 until finished with pictures.

No manual sizing, no selecting from previews, no scanning pictures twice. Just insert, insert, insert until I'm out of pictures and everything just works.

Does anybody know of software for Linux that will do the same thing?

Everything I've found so far either makes you specify the size with coordinates or select the picture area from a preview, which means for a collection of varied-size snapshots, you have to do extra work for each picture.

Simple-scan will let you keep scanning, but it won't auto-crop. XSane makes you select your crop from a preview, which means feeding each picture through twice, or specify coordinates, which means measuring each picture.

Thanks in advance to anyone who can point me to something with the auto-crop feature.

-Dan
 
Old 07-19-2019, 06:07 PM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,737

Rep: Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213Reputation: 2213
Couple of thoughts:
Is the Windows program perhaps also available for Linux?
I do scanning in Windows with software provided by the scanner manufacturer. Does the manufacture of your scanner have software for Linux?
 
Old 07-19-2019, 08:16 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,834

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Quote:
Thanks in advance to anyone who can point me to something with the auto-crop feature.
Not that I'm aware of. This reads like an application-specific feature, and none of the Linux scanner applications have that AFAIK.

However, 'imagemagick' (image editor application) might be of help to you with little additional effort to auto-crop the 'full-sized' scanned images perhaps...

https://pebblesinthesand.wordpress.c...h-imagemagick/
*This application can batch process a directory of images and apply the desired transformation using its convert CLI tool.

There is also 'phatch' an open source photo batch processing utility that might also work for you, in that it supports a wide-range of formats (inc PDF), and can process images including auto-cropping
http://photobatch.wikidot.com/
 
Old 07-19-2019, 09:41 PM   #4
dengel
LQ Newbie
 
Registered: Jun 2003
Distribution: Arch Linux
Posts: 23

Original Poster
Rep: Reputation: 0
Thank you for the suggestions. The scanner I have puts a yellow background for scanned areas with no media and a darker yellow background for parts no scanned (e.g., you put a 4x6 picture through and the scanner returns an 8.5x11 page - to the right of the picture is yellow, and below the picture is dark yellow). I think this could aid with an approach using imagemagick, and I might try to rig up a script-based environment using scanimage and imagemagick.

The Windows program in question is, indeed, from the manufacturer. As far as I've been able to find, the only Linux support they have is for a sane driver (which I use), but I'll check more closely.

Again, thanks for the suggestions.
 
Old 07-20-2019, 04:49 PM   #5
capt ron
Member
 
Registered: Aug 2003
Location: Albuquerque New Mexico
Distribution: LinuxMint 19.1
Posts: 53

Rep: Reputation: 9
Take a look at VueScan (www.hamrick.com). Might do what you need. It's payware, though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mencoder yields 2GB output without crop, 2MB output with crop porphyry5 Linux - Software 2 01-11-2012 06:44 AM
tc traffic control tc traffic control Linux QoS control tool(noob help) inv|s|ble Linux - General 1 07-26-2007 11:12 AM
Looking for a tool to auto crop and separate images in to separate files.. mlsfit Linux - Software 2 08-06-2006 03:13 PM
how to make a 4x6 crop in gimp? webazoid Linux - Software 0 07-30-2004 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 06:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration