[magick-users] Convert Pdf to Tiff
Fred Weinhaus
fmw at alink.net
Tue Nov 4 09:40:48 PST 2008
I do not know too much about PDF processing, but you can try (though
I have my doubts it will work)
convert -density 240 -compress none -page A4 document.pdf -gravity
center pageA4.tif
Is it possible that the image is still surrounded by pixels data of
some background color? If so you can try to trim out the background
with -background somecolor -fuzz xx% -trim where XX is some small
percent like 5 or 10.
However, I really think you may have the commands in the wrong order. Try
convert document.pdf -density 240 -compress none -page A4 pageA4.tif
>I have a pdf with a small image inside. The pdf size is exactly the image
>size and is 7.69 x 1.71 in.
>
>I would like to rasterize this pdf and get a A4 tiff page at 240 DPI with
>the original image placed at the top or centered.
>
>I've tried with:
>
>convert -density 240 -compress none -page A4 document.pdf pageA4.tif
>
>The final tiff has the corect density and size but the image is placed at
>the bottom of the page.
>
>How can I place it at the top or at centre ?
>
>Thanks.
>Giuseppe.
More information about the Magick-users
mailing list