dpi or ppi for jpg to pdf conversion
Posted: 2007-02-04T10:02:22-07:00
Hi, I am trying to do a batch convert of jpg files to pdf files. I want the pdf output to have a dpi of 360 (I'm trying to make a photobook). When I convert the jpg files using:
I get a small image in the lower left corner of the pdf file. The jpg files were previously converted to uniform dimentions using:
(I tried running the above doing a direct convert to .pdf, which produced a blank document...).
Any advise on how to produce the desired pdf output?
Thanks much!
Amos
Code: Select all
convert $f -units pixelsperinch -density 360x360 $f.pdf;
Code: Select all
convert $f -resize 2970x2250 -size 3330x2610 xc:white +swap -gravity center -units pixelsperinch -density 360x360 -composite $f.jpg;
Any advise on how to produce the desired pdf output?
Thanks much!
Amos