dpi or ppi for jpg to pdf conversion

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".

dpi or ppi for jpg to pdf conversion

Postby amoswright » 2007-02-04T10:02:22+00: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:
Code: Select all
convert $f -units pixelsperinch -density 360x360 $f.pdf;


I get a small image in the lower left corner of the pdf file. The jpg files were previously converted to uniform dimentions using:
Code: Select all
convert $f -resize 2970x2250 -size 3330x2610 xc:white +swap -gravity center -units pixelsperinch -density 360x360 -composite $f.jpg;


(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
amoswright
 

Return to Users

Who is online

Users browsing this forum: Bing [Bot], dlemstra and 26 guests