Skip Menu |

This queue is for tickets about the PDF-Reuse CPAN distribution.

Report information
The Basics
Id: 131484
Status: new
Priority: 0/
Queue: PDF-Reuse

People
Owner: Nobody in particular
Requestors: SMONFF [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Documentation suggestion about XObjects and stream concatenation
Hi, I encountered issues finding an editor converting PDF files with multiple streams to single stream, what seems to be a requirement for using PDF::Reuse in some cases. The current version of Acrobat Reader suggested in PDF::Reuse documentation doesn't allow this anymore and it could be convenient to a a free software providing this feature. I tried various alternatives that weren't successful but GhostScript was. By using the -dDetectDuplicateImages, I managed to have a PDF file supported by PDF::Reuse and not launching a "xxxx.pdf can't be used as a form. See the documentation under prForm how to concatenate streams" exception". I think the module pod and the turorial could be updated with something like: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/default -dNOPAUSE -dQUIET -dBATCH -dDetectDuplicateImages -dCompressFonts=true -r150 -sOutputFile=output.pdf input.pdf So that people without a version of Acrobat Reader able to edit PDFs could achieve it in another way. See https://www.ghostscript.com/doc/9.50/VectorDevices.htm#PDF