Hi,
Am 13.06.2011 10:32, schrieb [email protected]:
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