Convert Adjoin Will Not Preserve 300dpi

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?".
Post Reply
harlequin516
Posts: 1
Joined: 2012-03-01T18:02:23-07:00
Authentication code: 8675308

Convert Adjoin Will Not Preserve 300dpi

Post by harlequin516 »

I am trying to convert 3 jpgs with 300dpi resolution into a 3 page PDF with 300dpi resolution.
What is the right command line to accomplish this?

This is what I have tried,

Code: Select all

convert -density 300 1.jpg -adjoin 2.jpg -adjoin 3.jpg -density 300 combined.pdf
but `identify combined.pdf` does not show this resolution on the pdf file:
combined.pdf[0] PDF 612x792 612x792+0+0 16-bit Bilevel DirectClass 183KB 0.040u 0:00.009
combined.pdf[1] PDF 612x792 612x792+0+0 16-bit Bilevel DirectClass 183KB 0.020u 0:00.009
combined.pdf[2] PDF 612x792 612x792+0+0 16-bit Bilevel DirectClass 183KB 0.010u 0:00.000
What am I doing wrong?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert Adjoin Will Not Preserve 300dpi

Post by fmw42 »

I believe that PDFs themselves are vector format and do not actually have a density. If an image is imbedded in the PDF then the image has a density.

I will defer to the experts on this, however.



rose: rose: rose: -density 300 rose.pdf
c-98-234-217-52:~ fred$ idv rose.pdf
Image: rose.pdf
Format: PDF (Portable Document Format)
Class: DirectClass
Geometry: 17x11+0+0
Resolution: 72x72
Print size: 0.236111x0.152778
Units: Undefined
Post Reply