Page 1 of 1

Convert PDF to layered TIFF ?

Posted: 2010-12-04T12:06:46-07:00
by CptWacko
Hi,

I was wondering if it's possible to convert a PDF to a bunch of layered TIFF. I mean something like a TIFF with an image layer and a text layer so I can process the text that's in the PDF. I found some libraries that extract the text from a PDF but it's all plain text and I really need to keep the style of the text.

Thanks!

Re: Convert PDF to layered TIFF ?

Posted: 2010-12-04T12:27:35-07:00
by fmw42
I don't believe that IM can separate the text from the image from a PDF. But I am not an expert on PDF files.

see http://www.imagemagick.org/Usage/formats/#pdf

Re: Convert PDF to layered TIFF ?

Posted: 2010-12-04T13:48:20-07:00
by CptWacko
I guess I'll be able to do want I want to do with pdf2swf from SWFTools combined with the plain text libraries I was talking about. If I may give a suggestion, you should integrate that tool (pdf2swf) to ImageMagick since both projects are GPL, it would make ImageMagick even more complete when dealing with PDFs.