LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-29-2008, 04:40 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,997

Rep: Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250
Converting pairs of images to pdf


I am going to have a pile of scans as follows:

Image_001 - Front
Image_002 - Back (Of the same sheet)
Image_003 - Front
Image_004 - Back (of the next one)
etc.

I have control over what image types these are (among the basic few common ones). I want to get 001 & 002 in a pdf. I'm going top have plenty of them so I need to automate it. Just checking my box, I can combine tiffs with tiffcp and use tiff2pdf. The hassle seems to be combining the images, while the conversion to pdf is a doddle

Tiffs are enormous. Any better ideas? Can I combine jpegs, or pngs or something?
 
Old 10-29-2008, 05:08 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,318

Rep: Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019
Quote:
Originally Posted by business_kid View Post
I am going to have a pile of scans as follows:

Image_001 - Front
Image_002 - Back (Of the same sheet)
Image_003 - Front
Image_004 - Back (of the next one)
etc.

I have control over what image types these are (among the basic few common ones). I want to get 001 & 002 in a pdf. I'm going top have plenty of them so I need to automate it. Just checking my box, I can combine tiffs with tiffcp and use tiff2pdf. The hassle seems to be combining the images, while the conversion to pdf is a doddle

Tiffs are enormous. Any better ideas? Can I combine jpegs, or pngs or something?
ImageMagick might be what you're looking for:

http://bitprison.net/jpg_to_pdf

It's got a ton of options...
 
Old 10-29-2008, 11:00 PM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,191

Rep: Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039Reputation: 1039
Use ImageMagick's "convert -adjoin" command. You can merge several JPG's in one PDF with this command. I was not able to find the syntax so quickly, but it is (with examples) available on www.imagemagick.org.

Since it is command line it is easy to automate.

jlinkels
 
Old 10-30-2008, 03:06 PM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 10,997

Original Poster
Rep: Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250Reputation: 1250
Thanks for that. That means I can save to jpeg, which is smaller & neater.

That should do nicely. I never looked at Imagemagick. But it seems to be the business.
 
Old 10-30-2008, 03:56 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,318

Rep: Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019Reputation: 6019
Quote:
Originally Posted by business_kid View Post
Thanks for that. That means I can save to jpeg, which is smaller & neater.

That should do nicely. I never looked at Imagemagick. But it seems to be the business.
Yep, it's very powerful. But like mencoder, it's got a shedload of options, and finding the right combination can often be the trick.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Converting a PDF to mickeyboa Fedora 1 09-21-2007 09:25 AM
Converting PDF files mickeyboa Fedora 2 02-10-2007 05:13 PM
Converting .ppm images... slomek Linux - Software 4 05-08-2006 06:08 AM
Converting pdf to Html linuxeagle Linux - General 1 04-23-2004 09:03 AM
converting documents to pdf Chijtska Linux - General 5 02-05-2002 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration