at.scale(sx, sy);
state.getGraph().drawRenderedImage(imgRend.getRenderedImage(),
at);
} else if (img instanceof ImageXMLDOM) {
ImageXMLDOM imgXML = (ImageXMLDOM) img;
renderer.renderXML(context, imgXML.getDocument(), imgXML
.getRootNamespace());
}
} catch (ImageException ie) {
log.error("Error while processing image: "
+ (info != null ? info.toString() : uri), ie);