LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-23-2010, 01:02 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Rep: Reputation: Disabled
how do you scan multiple pages into one image?


Notwithstanding that I might not want to do this because of the large file size, how would I scan a multi-page document into one image file (probably a jpeg)? The only way I know how is to, after making seperate jpegs of every page, manually pasting the images below each other in a photo editor, which of course is a lot of trouble.
 
Old 05-23-2010, 01:12 PM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
It depends what you want to do with them afterwards - eg. why would you want to do this? what problem are you trying to solve?

I would import all the pages into a document editor or similar publishing tool.

It may be possible to use the GIMPs panorama plugin to make a long line out of the pages.
For that matter, you could batch-process the images in GIMP or a shell script using image magick.
 
Old 05-23-2010, 01:50 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
I am scanning some documents into the computer to reduce paper clutter. They will be saved indefinitely but probably never printed.
 
Old 05-23-2010, 03:10 PM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Hmmm ... if they are replacing sequentiol collections of documents, like suitable for a bound volume or book, then it is nice to have all the pages collected in a single file instead of spread out all over a window, when you look at them.

The usual way to handle this is to collect them all as a PDF.

image magick can combine lots of images to a single pdf file - I understand.

You could scan/convert them all to tiff, use tiff2pdf to turn them all into individual pdf files, then concatenate them with ghostscript or joinpdf.
http://www.linux.com/archive/feed/36815

apropos pdf - to see what pdf utilities you already have installed.
 
1 members found this post helpful.
Old 05-23-2010, 04:18 PM   #5
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Simon Bridge View Post
Hmmm ... if they are replacing sequentiol collections of documents, like suitable for a bound volume or book, then it is nice to have all the pages collected in a single file instead of spread out all over a window, when you look at them.

The usual way to handle this is to collect them all as a PDF.

image magick can combine lots of images to a single pdf file - I understand.

You could scan/convert them all to tiff, use tiff2pdf to turn them all into individual pdf files, then concatenate them with ghostscript or joinpdf.
http://www.linux.com/archive/feed/36815

apropos pdf - to see what pdf utilities you already have installed.
Thanks, that tells me everything I need to know. It's not long enough to be a book or bound volume, though. The document I had in mind is five stapled pages.
 
Old 05-27-2010, 05:50 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
The document I had in mind is five stapled pages.
Yep - collect as a pdf. Academic papers are like this.
 
Old 05-27-2010, 06:13 PM   #7
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 187

Rep: Reputation: 30
Another option is to put all the pictures in one source image folder; then create and enter then in a html page with kompozer. You can then easily view them with any webbrowser in the order you want.
 
Old 06-13-2010, 06:22 PM   #8
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Simon Bridge View Post
Yep - collect as a pdf. Academic papers are like this.
How do I do that? I am supposing I would open a blank document in a program than can make PDFs, and then insert images into it. I have KPDF, but I guess it can only read PDFs, not make them. OpenOffice, then?--that's the only thing I know that can do it (insert the images, save the file, export as PDF).

EDIT: Yup, I just learned something new. Inserting the images into an OpenOffice document and then exporting it as a PDF file worked splendidly. I no longer have to have folders of scanned documents with many separate "page x.jpg" files.

Last edited by newbiesforever; 06-13-2010 at 07:03 PM.
 
Old 06-21-2010, 09:20 PM   #9
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Yep - that does it.
IIRC: image magick will also turn lists of images into pdfs.
 
Old 06-21-2010, 10:16 PM   #10
jay102
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
It's good! Thank you very much!
 
Old 01-20-2011, 08:50 AM   #11
ianb1469
LQ Newbie
 
Registered: Mar 2008
Posts: 3

Rep: Reputation: 1
Convert scanned images to one pdf document

Just for reference and completeness, the following seems to do the trick (number the input pages in a suitable ASCII-order such as file001.jpg file002.jpg file003.jpg)

convert -page A4 -adjoin *jpg outputfile.pdf
 
1 members found this post helpful.
Old 04-11-2017, 11:24 AM   #12
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,374

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ianb1469 View Post
Just for reference and completeness, the following seems to do the trick (number the input pages in a suitable ASCII-order such as file001.jpg file002.jpg file003.jpg)

convert -page A4 -adjoin *jpg outputfile.pdf
I don't remember whether I tried this at the time it was posted, but I just tried it for my latest scanning need, and it works great. Copying and pasting the first part of the above, then inserting filenames, is quicker and easier than wrestling with any image editor.

Last edited by newbiesforever; 04-11-2017 at 11:27 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I scan multiple hosts with nessus? abefroman Linux - Software 0 08-01-2009 08:05 PM
trouble with Kooka - no image or preview scan zebra90210 Linux - Software 7 03-29-2009 09:57 AM
Scanner scan garbage along with image. surfer41 Linux - Hardware 0 10-02-2005 07:17 PM
What Scanner Software can scan multiple images at once? mysticsound Linux - Software 8 04-03-2005 09:49 PM
Trying to get kooka scan an image in sarge jolphil Debian 2 03-24-2005 02:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:07 AM.

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