PDF: problem with density
Posted: 2011-04-09T01:46:27-07:00
I want to split multi-page PDF files so that I get one PDF file per page. But I have problems with the density, I don't know how to correctly specify it.
If I do
it all works but the output is (by default) 72 dpi which is too little. I've tried
and it works insofar as the output quality is good enough. But the problem is that the output PDFs are mostly white space and the document itself is really small and placed in the lower left corner.
Principally, I could just crop the output image because when I zoom in on the small document in the lower left corner, the quality is good enough. But that can't be the solution.
So how do I correctly specify the density?
BTW: I'm using Mac OS X Leopard and ImageMagick 6.3.3 03/06/07 Q16. That's not the newest version, as I've just noticed, but I've used Unix/Terminal/Bash only for about a month so I was glad to be able to install ANY version of IM...
Thanks in advance.
If I do
Code: Select all
convert file.pdf file%03.pdf
Code: Select all
convert -density 300 file.pdf file%03.pdf
Principally, I could just crop the output image because when I zoom in on the small document in the lower left corner, the quality is good enough. But that can't be the solution.
So how do I correctly specify the density?
BTW: I'm using Mac OS X Leopard and ImageMagick 6.3.3 03/06/07 Q16. That's not the newest version, as I've just noticed, but I've used Unix/Terminal/Bash only for about a month so I was glad to be able to install ANY version of IM...
Thanks in advance.