LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-15-2013, 11:08 AM   #31
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Lenny/Squeeze/Wheezy/Sid
Posts: 3,978

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476

Quote:
Originally Posted by eXpander_ View Post
This gives very poor quality results due to its internal conversion algorithms. To increase the quality of the output, it is better to read the input PDF files with a higher density (in dots per inch (DPI)) and then resize the output density back to common DPI, 96 for example. I usually use a input density of 600 (after many trial and errors), and then resize with 93.75% (if you dont resize you will get a huge output file).

An example:

Code:
convert -density 600 fileinput_1.pdf fileinput2_.pdf -resize 93.75% output.pdf
Have you actually tried and confirmed that you need the -density?

I am well aware of this switch when converting a .pdf to .jpg. Standard density is 50 dpi or so, not even 96 IIRC. However, when I tested this command I posted yesterday I left out the -density on purpose, and the merged file happened to be the same resolution as the originals.

This is my version in case it is relevant:
Code:
Version: ImageMagick 6.6.0-4 2010-11-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
Besides, a density of 600 even for a single PDF usually brings your computer down on its knees.

jlinkels
 
Old 03-15-2013, 12:12 PM   #32
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 288

Rep: Reputation: 51
Quote:
Originally Posted by jlinkels View Post
Have you actually tried and confirmed that you need the -density?
By "Trial and Error" I really mean that I have "actually tried and confirmed" this on my own. I tried without density, but that gave me really poor results.

Quote:
Originally Posted by jlinkels View Post
I am well aware of this switch when converting a .pdf to .jpg. Standard density is 50 dpi or so, not even 96 IIRC. However, when I tested this command I posted yesterday I left out the -density on purpose, and the merged file happened to be the same resolution as the originals.
This is about merging pdf-files, not converting them to other formats.

Quote:
Originally Posted by jlinkels View Post
This is my version in case it is relevant:
Code:
Version: ImageMagick 6.6.0-4 2010-11-16 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
I use 6.7.7_10.

Quote:
Originally Posted by jlinkels View Post
Besides, a density of 600 even for a single PDF usually brings your computer down on its knees.

jlinkels
That's another question. I use pretty modern computers (minimum dual-cores), and it goes pretty fast (in seconds).
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] merge pdf files with each file as a index entry in the big pdf ununun Linux - General 1 03-08-2013 06:56 PM
software for merging pdf files Diamantis Linux - Software 5 06-27-2008 04:13 PM
Tool to convert PDF files to office and vice versa linuxlover.chaitanya Linux - Software 2 05-01-2008 10:31 AM
Merging ,pdf files satimis Linux - General 6 11-21-2007 08:31 PM
Merging Two Files using C++ ckoniecny Programming 5 09-26-2006 09:00 AM


All times are GMT -5. The time now is 12:05 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration