| java.lang.Object org.apache.xmlgraphics.image.rendered.AbstractRed org.apache.xmlgraphics.image.rendered.Any2LsRGBRed
Any2LsRGBRed | public class Any2LsRGBRed extends AbstractRed (Code) | | This function will tranform an image from any colorspace into a
luminance image. The alpha channel if any will be copied to the
new image.
author: Thomas DeWeese version: $Id: Any2LsRGBRed.java 499611 2007-01-24 23:17:50Z cam $ |
srcIssRGB | boolean srcIssRGB(Code) | | |
Any2LsRGBRed | public Any2LsRGBRed(CachableRed src)(Code) | | Construct a luminace image from src.
Parameters: src - The image to convert to a luminance image |
copyData | public WritableRaster copyData(WritableRaster wr)(Code) | | |
fixColorModel | protected static ColorModel fixColorModel(CachableRed src)(Code) | | This function 'fixes' the source's color model. Right now
it just selects if it should have one or two bands based on
if the source had an alpha channel.
|
fixSampleModel | protected static SampleModel fixSampleModel(CachableRed src)(Code) | | This function 'fixes' the source's sample model.
Right now it just selects if it should have 3 or 4 bands
based on if the source had an alpha channel.
|
sRGBToLsRGB | final public static double sRGBToLsRGB(double value)(Code) | | |
Methods inherited from org.apache.xmlgraphics.image.rendered.AbstractRed | public static void copyBand(Raster src, int srcBand, WritableRaster dst, int dstBand)(Code)(Java Doc) public void copyToRaster(WritableRaster wr)(Code)(Java Doc) public Rectangle getBounds()(Code)(Java Doc) public ColorModel getColorModel()(Code)(Java Doc) public Raster getData()(Code)(Java Doc) public Raster getData(Rectangle rect)(Code)(Java Doc) public Shape getDependencyRegion(int srcIndex, Rectangle outputRgn)(Code)(Java Doc) public Shape getDirtyRegion(int srcIndex, Rectangle inputRgn)(Code)(Java Doc) public int getHeight()(Code)(Java Doc) public int getMinTileX()(Code)(Java Doc) public int getMinTileY()(Code)(Java Doc) public int getMinX()(Code)(Java Doc) public int getMinY()(Code)(Java Doc) public int getNumXTiles()(Code)(Java Doc) public int getNumYTiles()(Code)(Java Doc) public Object getProperty(String name)(Code)(Java Doc) public String[] getPropertyNames()(Code)(Java Doc) public SampleModel getSampleModel()(Code)(Java Doc) public Vector getSources()(Code)(Java Doc) public Raster getTile(int tileX, int tileY)(Code)(Java Doc) public int getTileGridXOffset()(Code)(Java Doc) public int getTileGridYOffset()(Code)(Java Doc) public int getTileHeight()(Code)(Java Doc) public int getTileWidth()(Code)(Java Doc) public int getWidth()(Code)(Java Doc) final public int getXTile(int xloc)(Code)(Java Doc) final public int getYTile(int yloc)(Code)(Java Doc) protected void init(CachableRed src, Rectangle bounds, ColorModel cm, SampleModel sm, int tileGridXOff, int tileGridYOff, Map props)(Code)(Java Doc) protected void init(List srcs, Rectangle bounds, ColorModel cm, SampleModel sm, int tileGridXOff, int tileGridYOff, Map props)(Code)(Java Doc) public WritableRaster makeTile(int tileX, int tileY)(Code)(Java Doc) protected void updateTileGridInfo()(Code)(Java Doc)
|
|
|