.getProperty(Java2DRendererContextConstants.JAVA2D_STATE);
ImageManager manager = ua.getFactory().getImageManager();
ImageInfo info = null;
try {
ImageSessionContext sessionContext = ua.getImageSessionContext();
info = manager.getImageInfo(uri, sessionContext);
final ImageFlavor[] flavors = new ImageFlavor[] {
ImageFlavor.GRAPHICS2D, ImageFlavor.BUFFERED_IMAGE,
ImageFlavor.RENDERED_IMAGE, ImageFlavor.XML_DOM };
Map hints = ImageUtil.getDefaultHints(sessionContext);