COSName objectName = (COSName)arguments.get( 0 );
Map xobjects = drawer.getResources().getXObjects();
PDXObject xobject = (PDXObject)xobjects.get( objectName.getName() );
if( xobject instanceof PDXObjectImage )
{
PDXObjectImage image = (PDXObjectImage)xobject;
try
{
BufferedImage awtImage = image.getRGBImage();
Matrix ctm = drawer.getGraphicsState().getCurrentTransformationMatrix();
int width = awtImage.getWidth();
int height = awtImage.getHeight();