pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <spr...@gmx.eu>
Subject PDF to Image
Date Mon, 13 Jun 2011 08:32:18 GMT
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?

Thank you


Mime
View raw message