You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by "Albert, Felix" <Fe...@EXXETA.com> on 2016/11/16 12:21:09 UTC

Possibility of data loss using the PDFMergerUtility

Hello,

first thank you very much for your awesome library. I want to use it to merge several PDF files into a single one.
The files only consist of scanned documents - yet these partly have a lot of details and huge sizes (up to 200mb).

So my question is, is there any possibility that during the merge-process data might be lost?
To my understanding the content of the pdf file is just being transferred from one pdf container into another during the merging, so my assumption is that during a successful merge no image data can get lost, but I would be very happy about a confirmation or a denial from your side.

Thank you very much in advance. The usage of PDFBox is really extremely convenient!

Best regards
Felix Albert



Re: Possibility of data loss using the PDFMergerUtility

Posted by Tilman Hausherr <TH...@t-online.de>.
Am 16.11.2016 um 13:21 schrieb Albert, Felix:
> Hello,
>
> first thank you very much for your awesome library. I want to use it to merge several PDF files into a single one.
> The files only consist of scanned documents - yet these partly have a lot of details and huge sizes (up to 200mb).
>
> So my question is, is there any possibility that during the merge-process data might be lost?
> To my understanding the content of the pdf file is just being transferred from one pdf container into another during the merging, so my assumption is that during a successful merge no image data can get lost, but I would be very happy about a confirmation or a denial from your side.

It depends how you define "data loss". What can get lost is stuff that 
is at most once in each of the files, e.g. metadata. But not the page.

You wrote about PDFs from scanned data. I have such a use case myself at 
work: we scan papers with a number. These numbers are unique, i.e. there 
are never two PDFs with the same number on the paper. Now guess what - 
it happens every day that we have duplicates LOL (mostly because people 
copy these papers and submit them several times). So what we do (and the 
client agrees) is to create one single PDF from these with PDFBox.

Tilman


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org