pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Lehmkuehler <andr...@lehmi.de>
Subject Re: PDF to Image
Date Tue, 14 Jun 2011 17:35:46 GMT
Hi,

Am 13.06.2011 10:32, schrieb spring@gmx.eu:
> Hi,
>
> when I convert some PDF documents to an image (png) I get an empty image
> back. Only thing I can see is this warning:
>
> WARN org.apache.pdfbox.util.operator.pagedrawer.Invoke.process(77);
> getRGBImage returned NULL
>
>
> Looking into the source (1.5.0), I see this:
>
> PDXObjectImage image = (PDXObjectImage)xobject;
>              try
>              {
>                  image.setGraphicsState(drawer.getGraphicsState());
>                  BufferedImage awtImage = image.getRGBImage();
>                  if (awtImage == null)
>                  {
>                      log.warn("getRGBImage returned NULL");
>                      return;//TODO PKOCH
>                  }
>
> ...
>
>
> Bug?
> Not ready?
Without having a hand on the pdf this will be only a guess. It sounds like an 
issue which should be resolved in the current trunk. Did you ever try the most 
recent dev-version?

> Thank you


BR
Andreas Lehmkühler

Mime
View raw message