Converting images to PDF with same resolution
Posted: 2010-06-22T02:53:26-07:00
Hi all,
i have a simple problem, i think, but i don't find a solution.
I have one jpeg file:
If i use
convert Image-002.jpg Image-002.pdf
the resulting file is
How can i obtain the same parameters of the original file automatically?
Thanks a lot
Alberto
i have a simple problem, i think, but i don't find a solution.
I have one jpeg file:
Code: Select all
identify -verbose Image-002.jpg | head
Image: Image-002.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 1226x905+0+0
Resolution: 150x150
Print size: 8.17333x6.03333
Units: PixelsPerInch
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
convert Image-002.jpg Image-002.pdf
the resulting file is
Code: Select all
identify -verbose Image-002.pdf | head
Image: Image-002.pdf
Format: PDF (Portable Document Format)
Class: DirectClass
Geometry: 588x434+0+0
Resolution: 72x72
Print size: 8.16667x6.02778
Units: Undefined
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Thanks a lot
Alberto