// for the first shot, do nothing fancy ..
final ImageProducer.OfficeImage image = imageProducer.produceImage(imageData, preserveIRI);
if (image != null)
{
final ImageElementContext imageContext = (ImageElementContext)
attrs.getAttribute(OfficeNamespaces.INTERNAL_NS, "image-context");
// When scaling, we have to create an image-style.
final CSSNumericValue width = image.getWidth(); // always in 100th of a mm
final CSSNumericValue height = image.getHeight(); // always in 100th of a mm