Uses of Class java.awt.image.ImageFilter (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
java.awt.image.ImageFilter

- Packages that use ImageFilter
  Package | Description
  --- | ---
  java.awt.image | Provides classes for creating and modifying images.
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

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

    Subclasses of ImageFilter in java.awt.image
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AreaAveragingScaleFilter` An ImageFilter class for scaling images using a simple area averaging algorithm that produces smoother results than the nearest neighbor algorithm.
    `class` | `BufferedImageFilter` The `BufferedImageFilter` class subclasses an `ImageFilter` to provide a simple means of using a single-source/single-destination image operator (`BufferedImageOp`) to filter a `BufferedImage` in the Image Producer/Consumer/Observer paradigm.
    `class` | `CropImageFilter` An ImageFilter class for cropping images.
    `class` | `ReplicateScaleFilter` An ImageFilter class for scaling images using the simplest algorithm.
    `class` | `RGBImageFilter` This class provides an easy way to create an ImageFilter which modifies the pixels of an image in the default RGB ColorModel.

    Methods in java.awt.image that return ImageFilter
    Modifier and Type | Method and Description
    --- | ---
    `ImageFilter` | ImageFilter.`getFilterInstance(ImageConsumer ic)` Returns a unique instance of an ImageFilter object which will actually perform the filtering for the specified ImageConsumer.

    Constructors in java.awt.image with parameters of type ImageFilter
    Constructor and Description
    `FilteredImageSource(ImageProducer orig, ImageFilter imgf)` Constructs an ImageProducer object from an existing ImageProducer and a filter object.

  - ### Uses of ImageFilter in javax.swing

    Subclasses of ImageFilter in javax.swing
    Modifier and Type | Class and Description
    --- | ---
    `class` | `GrayFilter` An image filter that "disables" an image by turning it into a grayscale image, and brightening the pixels in the image.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.