Page 1 of 1

convert pdf to picture with only graphic layer

Posted: 2010-01-29T12:16:28-07:00
by Afternaf
Hello,

is it possible, to convert each page of pdf file to jpg, excluding text of this pdf?
pdf contain searchable text and graphic background.

trying to use pdftoppm(from xpdf) and imagemagick.

sorry for bad english.
Regards, Alex

Re: convert pdf to picture with only graphic layer

Posted: 2010-01-29T15:54:06-07:00
by fmw42
Afternaf wrote:Hello,

is it possible, to convert each page of pdf file to jpg, excluding text of this pdf?
pdf contain searchable text and graphic background.

trying to use pdftoppm(from xpdf) and imagemagick.

sorry for bad english.
Regards, Alex

What do you mean "excluding text"?

convert image.pdf +adjoin image.jpg

should give you all the pages of the pdf as image-0.jpg, image-1,jpg etc

Re: convert pdf to picture with only graphic layer

Posted: 2010-01-29T16:09:08-07:00
by Afternaf
fmw42 wrote:What do you mean "excluding text"?
without any text from pdf, only background image.

Re: convert pdf to picture with only graphic layer

Posted: 2010-01-29T19:23:23-07:00
by fmw42
I don't think so. See http://www.imagemagick.org/Usage/formats/#pdf where it says
If you are more interested in the actual images that are contained within a PDF document you can have a look at the "pdfimages" program, which is part of either the "poppler-utils" or the "xpdf-utils" software packages. These software packages also contain many other tools that you can find useful for PDF processing.