[poppler] Split PDF by Poppler?

mpsuzuki at hiroshima-u.ac.jp mpsuzuki at hiroshima-u.ac.jp
Wed Sep 1 20:05:13 PDT 2010


Hi,

On Thu, 02 Sep 2010 10:34:13 +0800 (CST)
"cobra.yu" <cobra.yu at hyweb.com.tw> wrote:
>    My application needs some modifications to PDF files,
>like splitting long files into separate pieces. Is it
>possible to add such an editing function to Poppler?
>Or, it exists? 

"separate piece" means the per-page splitting?
Or, spliting a large page into small fragments
(e.g. from A3 page to 2 x A4 pages)?

Both can be realized by cairo output device, but
the cairo output device completely rewriting
the content (e.g. font names are changed, pictures
are extracted and losslessly-recompressed), so
some people may complain "it's not what I want".

# In my case, I don't use poppler for such purpose.
# I use pdftk command line tool.

At present, I think, PDFDoc object is created
by opening pathname for PDF file or reading
a stream to PDF file. PDFDoc object cannot be
created by subsetting other PDFDoc.

Regards,
mpsuzuki


More information about the poppler mailing list