Image original = createG2DImage();
ImageProviderPipeline pipeline = new ImageProviderPipeline(manager.getCache(), null);
pipeline.addConverter(new ImageConverterG2D2Bitmap());
pipeline.addConverter(new ImageConverterBuffered2Rendered());
pipeline.addConverter(new ImageConverterRendered2PNG());
Image img = pipeline.execute(original.getInfo(), original, null,
sessionContext);
assertNotNull("Image must not be null", img);