adam brin created PDFBOX-1886:
---------------------------------
Summary: Merge Function strips OCR layer in acrobat
Key: PDFBOX-1886
URL: https://issues.apache.org/jira/browse/PDFBOX-1886
Project: PDFBox
Issue Type: Bug
Affects Versions: 1.8.4
Reporter: adam brin
We use the PDFMergerUtility to add cover pages to documents automatically.
We're finding that when we do so, it strips the OCR data from the source of the
merged files.
{code}
PDFMergerUtility merger = new PDFMergerUtility();
File outputFile = File.createTempFile();
merger.setDestinationStream(new FileOutputStream(outputFile));
for (File file : files) {
merger.addSource(file);
}
merger.mergeDocuments();
return outputFile;
{code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)