|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.image.ImageFilter | +--java.awt.image.RGBImageFilter | +--com.eteks.filter.Web216ColorsFilter
This image filter transforms the color of each pixel of an image, using
a fixed 216 colors palette. No special dithering is performed.
Each Red, Green, Blue component of the 216 colors resulting palette take a value
among the 6 values of the following set : (0x00, 0x33, 0x66, 0x99, OxCC, OxFF).
6 power 3 makes 216 total possible combinations.
Fields inherited from class java.awt.image.RGBImageFilter |
canFilterIndexColorModel, newmodel, origmodel |
Fields inherited from class java.awt.image.ImageFilter |
consumer |
Fields inherited from interface java.awt.image.ImageConsumer |
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
Constructor Summary | |
Web216ColorsFilter()
|
Method Summary | |
int |
filterRGB(int x,
int y,
int rgb)
RGBImageFilter method implementation. |
Methods inherited from class java.awt.image.RGBImageFilter |
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel |
Methods inherited from class java.awt.image.ImageFilter |
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Web216ColorsFilter()
Method Detail |
public int filterRGB(int x, int y, int rgb)
RGBImageFilter
method implementation.filterRGB
in class RGBImageFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |