Class ScaleFilter

All Implemented Interfaces:
BufferedImageOp, Cloneable

public class ScaleFilter extends AbstractBufferedImageOp
Scales an image using the area-averaging algorithm, which can't be done with AffineTransformOp.
  • Constructor Details

    • ScaleFilter

      public ScaleFilter()
      Construct a ScaleFilter.
    • ScaleFilter

      public ScaleFilter(int width, int height)
      Construct a ScaleFilter.
      Parameters:
      width - the width to scale to
      height - the height to scale to
  • Method Details