noobie convert pdf to tiff
Posted: 2009-09-16T04:20:57-07:00
Hi all,
I'm new to ImageMagick and I'm having a few problems understanding the options
Firstly I started by converting a PDF into a tif using a Terminal window on my Mac running OS 10.5.8 and ImageMagick 6.5.4-0
convert mypdf.pdf mytif.tif
This worked fine but produced a 72dpi image, so I added the -density 300 option and this produced a 72dpi image but had changed the image width to 300cm!!! so I tried the same -density 300 option but changed the output format to jpg and that created me a 300dpi image with the width and height being preserved at the there original dimensions which is what I was hoping for but in tif format, is this something I'm doing wrong or a limitation of the tif output format? my command was:
convert -density 300 '/Users/nikj/Desktop/2_LBP_GRILEGP_TST.pdf' '/Users/nikj/Desktop/2_LBP_GRILEGP_TST.tif'
Ideally what I would like to do is make a thumbnail image of the PDF that's no larger than 5cm tall but has a resolution of 300dpi in a tiff format. I know I can change the physical size using -resize 50x50 but until I get the resolution and format sorted I don't want to go any further.
As a last point of interest does it matter where the options are specified in the command i.e should the -resize command be specified before the output file path or at the beginning of the command after the -density??
Any help would be appreciated,
Thanks,
Nik
I'm new to ImageMagick and I'm having a few problems understanding the options
Firstly I started by converting a PDF into a tif using a Terminal window on my Mac running OS 10.5.8 and ImageMagick 6.5.4-0
convert mypdf.pdf mytif.tif
This worked fine but produced a 72dpi image, so I added the -density 300 option and this produced a 72dpi image but had changed the image width to 300cm!!! so I tried the same -density 300 option but changed the output format to jpg and that created me a 300dpi image with the width and height being preserved at the there original dimensions which is what I was hoping for but in tif format, is this something I'm doing wrong or a limitation of the tif output format? my command was:
convert -density 300 '/Users/nikj/Desktop/2_LBP_GRILEGP_TST.pdf' '/Users/nikj/Desktop/2_LBP_GRILEGP_TST.tif'
Ideally what I would like to do is make a thumbnail image of the PDF that's no larger than 5cm tall but has a resolution of 300dpi in a tiff format. I know I can change the physical size using -resize 50x50 but until I get the resolution and format sorted I don't want to go any further.
As a last point of interest does it matter where the options are specified in the command i.e should the -resize command be specified before the output file path or at the beginning of the command after the -density??
Any help would be appreciated,
Thanks,
Nik