public void process(PDFOperator operator, List<COSBase> arguments) throws IOException
{
PageDrawer drawer = (PageDrawer)context;
PDPage page = drawer.getPage();
//begin inline image object
ImageParameters params = operator.getImageParameters();
PDInlinedImage image = new PDInlinedImage();
image.setImageParameters( params );
image.setImageData( operator.getImageData() );
if (params.isStencil())
{
//TODO implement inline image stencil masks
LOG.warn("Stencil masks are not implemented, background may be incorrect");
}
BufferedImage awtImage = image.createImage( context.getColorSpaces() );