}
private OfficeImage produceFromImage(final Image image)
{
// quick caching ... use a weak list ...
final WaitingImageObserver obs = new WaitingImageObserver(image);
obs.waitImageLoaded();
final PngEncoder encoder = new PngEncoder(image, PngEncoder.ENCODE_ALPHA, PngEncoder.FILTER_NONE, 5);
final byte[] data = encoder.pngEncode();
return produceFromByteArray(data);
}