I've just upgraded to 6.4.5. With the new option "-extent 1983x2807" and "-gravity Center" I've got the image I needed !
Fred Weinhaus wrote: > > > 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. > _______________________________________________ > Magick-users mailing list > [email protected] > http://studio.imagemagick.org/mailman/listinfo/magick-users > > -- View this message in context: http://www.nabble.com/Convert-Pdf-to-Tiff-tp20321721p20343210.html Sent from the Magick-users mailing list archive at Nabble.com. _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
