Next, you use the createImage method, provided by the default toolkit, to create an image from the ImageProducer instance:
createImage
ImageProducer
Image image = tk.createImage(producer)