public class Any2LumRed extends AbstractRed
bounds, cm, minTileX, minTileY, numXTiles, numYTiles, props, sm, srcs, tileGridXOff, tileGridYOff, tileHeight, tileWidth
Constructor and Description |
---|
Any2LumRed(CachableRed src)
Construct a luminace image from src.
|
Modifier and Type | Method and Description |
---|---|
WritableRaster |
copyData(WritableRaster wr) |
protected static ColorModel |
fixColorModel(CachableRed src)
This function 'fixes' the source's color model.
|
protected static SampleModel |
fixSampleModel(CachableRed src)
This function 'fixes' the source's sample model.
|
protected static int |
getAlpha(BufferedImage bufferedImage) |
protected static boolean |
getColorConvertOpAplhaSupported() |
copyBand, copyToRaster, getBounds, getColorModel, getData, getData, getDependencyRegion, getDirtyRegion, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getPropertyNames, getSampleModel, getSources, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getWidth, getXTile, getYTile, init, init, makeTile, updateTileGridInfo
public Any2LumRed(CachableRed src)
src
- The image to convert to a luminance imagepublic WritableRaster copyData(WritableRaster wr)
protected static ColorModel fixColorModel(CachableRed src)
protected static SampleModel fixSampleModel(CachableRed src)
protected static boolean getColorConvertOpAplhaSupported()
protected static int getAlpha(BufferedImage bufferedImage)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.