Uses of Interface java.awt.image.ImageProducer (Java Platform SE 8 )
Date: 2018-07-01

## Uses of Interface
java.awt.image.ImageProducer

- Packages that use ImageProducer
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.awt.image | Provides classes for creating and modifying images.
  java.awt.image.renderable | Provides classes and interfaces for producing rendering-independent images.

- - ### Uses of ImageProducer in java.awt

    Methods in java.awt that return ImageProducer
    Modifier and Type | Method and Description
    --- | ---
    `abstract ImageProducer` | Image.`getSource()` Gets the object that produces the pixels for the image.

    Methods in java.awt with parameters of type ImageProducer
    Modifier and Type | Method and Description
    --- | ---
    `abstract Image` | Toolkit.`createImage(ImageProducer producer)` Creates an image with the specified image producer.
    `Image` | Component.`createImage(ImageProducer producer)` Creates an image from the specified image producer.

  - ### Uses of ImageProducer in java.awt.image

    Classes in java.awt.image that implement ImageProducer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `FilteredImageSource` This class is an implementation of the ImageProducer interface which takes an existing image and a filter object and uses them to produce image data for a new filtered version of the original image.
    `class` | `MemoryImageSource` This class is an implementation of the ImageProducer interface which uses an array to produce pixel values for an Image.

    Methods in java.awt.image that return ImageProducer
    Modifier and Type | Method and Description
    --- | ---
    `ImageProducer` | VolatileImage.`getSource()` This returns an ImageProducer for this VolatileImage.
    `ImageProducer` | BufferedImage.`getSource()` Returns the object that produces the pixels for the image.

    Methods in java.awt.image with parameters of type ImageProducer
    Modifier and Type | Method and Description
    --- | ---
    `void` | ImageFilter.`resendTopDownLeftRight(ImageProducer ip)` Responds to a request for a TopDownLeftRight (TDLR) ordered resend of the pixel data from an `ImageConsumer`.

    Constructors in java.awt.image with parameters of type ImageProducer
    Constructor and Description
    `FilteredImageSource(ImageProducer orig, ImageFilter imgf)` Constructs an ImageProducer object from an existing ImageProducer and a filter object.
    `PixelGrabber(ImageProducer ip, int x, int y, int w, int h, int[] pix, int off, int scansize)` Create a PixelGrabber object to grab the (x, y, w, h) rectangular section of pixels from the image produced by the specified ImageProducer into the given array.

  - ### Uses of ImageProducer in java.awt.image.renderable

    Classes in java.awt.image.renderable that implement ImageProducer
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RenderableImageProducer` An adapter class that implements ImageProducer to allow the asynchronous production of a RenderableImage.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.