PageDrawer drawer = (PageDrawer)context;
PDPage page = drawer.getPage();
Dimension pageSize = drawer.getPageSize();
Graphics2D graphics = drawer.getGraphics();
//begin inline image object
ImageParameters params = operator.getImageParameters();
PDInlinedImage image = new PDInlinedImage();
image.setImageParameters( params );
image.setImageData( operator.getImageData() );
BufferedImage awtImage = image.createImage( context.getColorSpaces() );