com.jhlabs.image

Class UnpremultiplyFilter

Implemented Interfaces:
BufferedImageOp, Cloneable

public class UnpremultiplyFilter
extends PointFilter

A filter which unpremultiplies an image's alpha. Note: this does not change the image type of the BufferedImage

Field Summary

Fields inherited from class com.jhlabs.image.PointFilter

canFilterIndexColorModel

Constructor Summary

UnpremultiplyFilter()

Method Summary

int
filterRGB(int x, int y, int rgb)
String
toString()

Methods inherited from class com.jhlabs.image.PointFilter

filter, filterRGB, setDimensions

Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp

clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRGB, getRenderingHints, setRGB

Constructor Details

UnpremultiplyFilter

public UnpremultiplyFilter()

Method Details

filterRGB

public int filterRGB(int x,
                     int y,
                     int rgb)
Overrides:
filterRGB in interface PointFilter

toString

public String toString()