Page 1 of 1

Best way to convert .pdf to [.eps & .tif]

Posted: 2012-05-12T09:40:08-07:00
by myspacee
Hello,
i've a job task . We have some pdf files, (eg. : http://static.repubblica.it/laprovincia ... /input.pdf)
that sometimes fail in normal process. We find a trick that bypass problem, but only few people can
do this in short time.

I think to use IM to apply right conversion and obtain 1:1 eps file in short time possible.
Hotfolder wait for a pdf file, take it, convert, and return to our system.

Now i'm searching right syntax to accomplish this task, obtain an EPS file, and a TIF with same height and base,
then remove white border to obtain file like this:
Image

thank you in advance for any info,
m.

Re: Best way to convert .pdf to [.eps & .tif]

Posted: 2012-05-12T09:46:31-07:00
by fmw42
IM will rasterize your pdf before it can convert it back to eps. see http://www.imagemagick.org/Usage/formats/#vector

try this to get to tiff


convert -density 72 input.pdf -fuzz 1% -trim +repage input.tiff

you can adjust the density value to get the tiff file to have the same dimensions as the pdf.

If the white border is perfectly uniform color, then you don't need the -fuzz at all.