Hi.

Thanks for your help, and sorry about not responding to the mailing list; I
figured this would be done automatically by my client. It works great when I
use simple jpeg images without transparency, so I think you're right in
guessing that would be the issue. I'll settle for this and try to work
around this limitation for now.

Thanks
// Joakim Grahn

2009/7/15 Andreas Lehmkühler <[email protected]>

> Hi Joakim,
>
> png images are supported. I guess the problem is the transparency. I'm not
> familiar with all details of that feature, it's perhaps not supported or
> broken.
> You'll find the log messages in pdfbox.log. The loglevel can be adjusted in
> org.apache.pdfbox.exceptions.LoggingObject
>
> Andreas Lehmkühler
>
> P.S.: For the future please answer to the mailing-list so that everyone is
> able to participate in helping each other. Thanks in advance.
>
> ----- original Nachricht --------
>
> Betreff: Re: Blank page when printing pdf
> Gesendet: Mi, 15. Jul 2009
> Von: Joakim Grahn
>
> Hi again,
> I just noticed that actually the prints are now working perfectly, apart
> from the issue with the images. The problem with the blank page was me
> forgetting to add the resources to the classpath, sorry about that.I'm
> guessing that the error might be that png images are currently not
> supported? (jpg images seem to work fine)Thanks// Joakim Grahn
> 2009/7/15 Joakim Grahn <[email protected]>
> Hello Andreas,
> Thank you for your quick answer. - When displaying the PDF in the pdf
> reader, it displays correctly, except for images that contain an alpha
> channel; These images become black in the areas where the transparency is
> supposed to be.- The PDF has portrait orientation.- I can't seem to locate
> the logs, could you please give me some hint where these are usually
> located?Thanks,// Joakim Grahn
> 2009/7/14 Andreas Lehmkühler <[email protected]>
> Hi Joakim,
>
> > I'm trying to use PDFBox to print an existing PDF file with embedded
> fonts,
> > using the PDDocument.print() function. I downloaded pdfbox from the
> > subversion repository earlier today, so it should be up to date.. I'm on
> > Mac
> > OS X, the document I'm trying to write contains some tables and text with
> > the regular Helvetica font. I can't seem to find a solution to this
> > problem,
> > so any help would be appreciated!
> I've some further questions:
>
> - Did you try to display the pdf with the PDFReader bundled with pdfbox?
> Was it ok, or just empty too?
> - What orientation has the pdf portrait or landscape?
> - Are there any suspicious entries in the log?
>
> BR
> Andreas Lehmkühler
>
>
>
>
>
> --- original Nachricht Ende ----
>

Reply via email to