pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magnus Evensberget <magnus.evensber...@gmail.com>
Subject Re: Something weird with PDFMergerUtility?
Date Mon, 17 Aug 2015 06:56:21 GMT
Hey Tilman,

it seems I get an error "Insufficient data for an image." when I try to
open it in Adobe. The text is hidden, but when I highlight (mark it) it
becomes visible. the image is not showing.
I can try to create a minimal project to show the problem.

On Fri, 14 Aug 2015 at 22:37 Tilman Hausherr <THausherr@t-online.de> wrote:

> Am 14.08.2015 um 09:04 schrieb Magnus Evensberget:
> > files are here: https://github.com/magnusev/PdfBoxMergeProblem
> >
> > I use the newest version of the 2.0.0-SNAPSHOT
> >
> > hope you can help :)
>
> Please try again, I fixed the regression. (hopefully!!!)
> See near the bottom at
> https://issues.apache.org/jira/browse/PDFBOX-2893
>
> Tilman
>
>
>
> >
> >
> > On Thu, 13 Aug 2015 at 22:56 Tilman Hausherr <THausherr@t-online.de>
> wrote:
> >
> >> Hi,
> >>
> >> Can you tell what version you are using? And can you upload these files
> >> somewhere?
> >>
> >> Tilman
> >>
> >> Am 13.08.2015 um 21:10 schrieb Magnus Evensberget:
> >>> I have the following example:
> >>>
> >>> PDDocument document = new PDDocument();
> >>> PDDocument d = PDDocument.load(documentBytes.get());
> >>>
> >>> PDFMergerUtility merger = new PDFMergerUtility();
> >>> merger.appendDocument(document, d);
> >>> merger.appendDocument(document, d);
> >>>
> >>> document.save("c:/test/blankDocWithFields.pdf");
> >>>
> >>> the document has one textfield
> >>>
> >>> The PDF saved has both pages, but the page content is gone, leaving
> only
> >>> the textfields to write in on both pages.
> >>>
> >>> It worked before I went on Holiday but when I came back one week later
> it
> >>> did not work.
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> >> For additional commands, e-mail: users-help@pdfbox.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message