public interface RenderedImageTypeThis interface allows the RenderedImageFactory to auto-defect an image type through an extension point. Implementors need to know how to auto-defect the type of image given a byte buffer representing the contents of the image.
org.eclipse.gmf.runtime.draw2d.ui.render.RenderedImage autoDetect(byte buffer, RenderedImageKey key)
bytearray that is the contents of the image file. This is used as the input in order to detect the type of file format.
RenderedImageKeythat defines the parameters of how to render the particular image.
bufferwas auto-detected as being this type.
nullis returned if the buffer stream is not detected as this type.