java.awt.image
Class ColorConvertOp

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.image.ColorConvertOp
All Implemented Interfaces:
BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp , RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp

public class ColorConvertOp
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp , RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp

This class performs a pixel-by-pixel color conversion of the data in the source image. The resulting color values are scaled to the precision of the destination image. Color conversion can be specified via an array of ColorSpace objects or an array of ICC_Profile objects.

If the source is a BufferedImage with premultiplied alpha, the color components are divided by the alpha component before color conversion. If the destination is a BufferedImage with premultiplied alpha, the color components are multiplied by the alpha component after conversion. Rasters are treated as having no alpha channel, i.e. all bands are color bands.

If a RenderingHints object is specified in the constructor, the color rendering hint and the dithering hint may be used to control color conversion.

Note that Source and Destination may be the same object.

See Also:
RenderingHints.KEY_COLOR_RENDERING sample code for java.awt.RenderingHints.KEY_COLOR_RENDERING definition code for java.awt.RenderingHints.KEY_COLOR_RENDERING , RenderingHints.KEY_DITHERING sample code for java.awt.RenderingHints.KEY_DITHERING definition code for java.awt.RenderingHints.KEY_DITHERING

Constructor Summary
ColorConvertOp sample code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.color.ColorSpace, java.awt.color.ColorSpace, java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.color.ColorSpace, java.awt.color.ColorSpace, java.awt.RenderingHints) (ColorSpace sample code for java.awt.color.ColorSpace definition code for java.awt.color.ColorSpace  srcCspace, ColorSpace sample code for java.awt.color.ColorSpace definition code for java.awt.color.ColorSpace  dstCspace, RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
          Constructs a new ColorConvertOp from two ColorSpace objects.
ColorConvertOp sample code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.color.ColorSpace, java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.color.ColorSpace, java.awt.RenderingHints) (ColorSpace sample code for java.awt.color.ColorSpace definition code for java.awt.color.ColorSpace  cspace, RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
          Constructs a new ColorConvertOp from a ColorSpace object.
ColorConvertOp sample code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.color.ICC_Profile[], java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.color.ICC_Profile[], java.awt.RenderingHints) (ICC_Profile sample code for java.awt.color.ICC_Profile definition code for java.awt.color.ICC_Profile [] profiles, RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
          Constructs a new ColorConvertOp from an array of ICC_Profiles.
ColorConvertOp sample code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp.ColorConvertOp(java.awt.RenderingHints) (RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
          Constructs a new ColorConvertOp which will convert from a source color space to a destination color space.
 
Method Summary
 BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage createCompatibleDestImage sample code for java.awt.image.ColorConvertOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) definition code for java.awt.image.ColorConvertOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) (BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src, ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel  destCM)
          Creates a zeroed destination image with the correct size and number of bands, given this source.
 WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster createCompatibleDestRaster sample code for java.awt.image.ColorConvertOp.createCompatibleDestRaster(java.awt.image.Raster) definition code for java.awt.image.ColorConvertOp.createCompatibleDestRaster(java.awt.image.Raster) (Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
          Creates a zeroed destination Raster with the correct size and number of bands, given this source.
 BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage filter sample code for java.awt.image.ColorConvertOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) definition code for java.awt.image.ColorConvertOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) (BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src, BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  dest)
          ColorConverts the source BufferedImage.
 WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster filter sample code for java.awt.image.ColorConvertOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) definition code for java.awt.image.ColorConvertOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) (Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src, WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  dest)
          ColorConverts the image data in the source Raster.
 Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D getBounds2D sample code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.BufferedImage) definition code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.BufferedImage) (BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src)
          Returns the bounding box of the destination, given this source.
 Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D getBounds2D sample code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.Raster) definition code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.Raster) (Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
          Returns the bounding box of the destination, given this source.
 ICC_Profile sample code for java.awt.color.ICC_Profile definition code for java.awt.color.ICC_Profile [] getICC_Profiles sample code for java.awt.image.ColorConvertOp.getICC_Profiles() definition code for java.awt.image.ColorConvertOp.getICC_Profiles() ()
          Returns the array of ICC_Profiles used to construct this ColorConvertOp.
 Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D getPoint2D sample code for java.awt.image.ColorConvertOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.ColorConvertOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) (Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  srcPt, Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  dstPt)
          Returns the location of the destination point given a point in the source.
 RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints getRenderingHints sample code for java.awt.image.ColorConvertOp.getRenderingHints() definition code for java.awt.image.ColorConvertOp.getRenderingHints() ()
          Returns the rendering hints used by this op.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

ColorConvertOp sample code for java.awt.image.ColorConvertOp(java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp(java.awt.RenderingHints)

public ColorConvertOp(RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
Constructs a new ColorConvertOp which will convert from a source color space to a destination color space. The RenderingHints argument may be null. This Op can be used only with BufferedImages, and will convert directly from the ColorSpace of the source image to that of the destination. The destination argument of the filter method cannot be specified as null.

Parameters:
hints - the RenderingHints object used to control the color conversion, or null

ColorConvertOp sample code for java.awt.image.ColorConvertOp(java.awt.color.ColorSpace, java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp(java.awt.color.ColorSpace, java.awt.RenderingHints)

public ColorConvertOp(ColorSpace sample code for java.awt.color.ColorSpace definition code for java.awt.color.ColorSpace  cspace,
                      RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
Constructs a new ColorConvertOp from a ColorSpace object. The RenderingHints argument may be null. This Op can be used only with BufferedImages, and is primarily useful when the filter sample code for java.awt.image.ColorConvertOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) definition code for java.awt.image.ColorConvertOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) method is invoked with a destination argument of null. In that case, the ColorSpace defines the destination color space for the destination created by the filter method. Otherwise, the ColorSpace defines an intermediate space to which the source is converted before being converted to the destination space.

Parameters:
cspace - defines the destination ColorSpace or an intermediate ColorSpace
hints - the RenderingHints object used to control the color conversion, or null
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - if cspace is null

ColorConvertOp sample code for java.awt.image.ColorConvertOp(java.awt.color.ColorSpace, java.awt.color.ColorSpace, java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp(java.awt.color.ColorSpace, java.awt.color.ColorSpace, java.awt.RenderingHints)

public ColorConvertOp(ColorSpace sample code for java.awt.color.ColorSpace definition code for java.awt.color.ColorSpace  srcCspace,
                      ColorSpace sample code for java.awt.color.ColorSpace definition code for java.awt.color.ColorSpace  dstCspace,
                      RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
Constructs a new ColorConvertOp from two ColorSpace objects. The RenderingHints argument may be null. This Op is primarily useful for calling the filter method on Rasters, in which case the two ColorSpaces define the operation to be performed on the Rasters. In that case, the number of bands in the source Raster must match the number of components in srcCspace, and the number of bands in the destination Raster must match the number of components in dstCspace. For BufferedImages, the two ColorSpaces define intermediate spaces through which the source is converted before being converted to the destination space.

Parameters:
srcCspace - the source ColorSpace
dstCspace - the destination ColorSpace
hints - the RenderingHints object used to control the color conversion, or null
Throws:
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - if either srcCspace or dstCspace is null

ColorConvertOp sample code for java.awt.image.ColorConvertOp(java.awt.color.ICC_Profile[], java.awt.RenderingHints) definition code for java.awt.image.ColorConvertOp(java.awt.color.ICC_Profile[], java.awt.RenderingHints)

public ColorConvertOp(ICC_Profile sample code for java.awt.color.ICC_Profile definition code for java.awt.color.ICC_Profile [] profiles,
                      RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  hints)
Constructs a new ColorConvertOp from an array of ICC_Profiles. The RenderingHints argument may be null. The sequence of profiles may include profiles that represent color spaces, profiles that represent effects, etc. If the whole sequence does not represent a well-defined color conversion, an exception is thrown.

For BufferedImages, if the ColorSpace of the source BufferedImage does not match the requirements of the first profile in the array, the first conversion is to an appropriate ColorSpace. If the requirements of the last profile in the array are not met by the ColorSpace of the destination BufferedImage, the last conversion is to the destination's ColorSpace.

For Rasters, the number of bands in the source Raster must match the requirements of the first profile in the array, and the number of bands in the destination Raster must match the requirements of the last profile in the array. The array must have at least two elements or calling the filter method for Rasters will throw an IllegalArgumentException.

Parameters:
profiles - the array of ICC_Profile objects
hints - the RenderingHints object used to control the color conversion, or null
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - when the profile sequence does not specify a well-defined color conversion
NullPointerException sample code for java.lang.NullPointerException definition code for java.lang.NullPointerException - if profiles is null
Method Detail

getICC_Profiles sample code for java.awt.image.ColorConvertOp.getICC_Profiles() definition code for java.awt.image.ColorConvertOp.getICC_Profiles()

public final ICC_Profile sample code for java.awt.color.ICC_Profile definition code for java.awt.color.ICC_Profile [] getICC_Profiles()
Returns the array of ICC_Profiles used to construct this ColorConvertOp. Returns null if the ColorConvertOp was not constructed from such an array.

Returns:
the array of ICC_Profile objects of this ColorConvertOp, or null if this ColorConvertOp was not constructed with an array of ICC_Profile objects.

filter sample code for java.awt.image.ColorConvertOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) definition code for java.awt.image.ColorConvertOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage)

public final BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  filter(BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src,
                                  BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  dest)
ColorConverts the source BufferedImage. If the destination image is null, a BufferedImage will be created with an appropriate ColorModel.

Specified by:
filter sample code for java.awt.image.BufferedImageOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) definition code for java.awt.image.BufferedImageOp.filter(java.awt.image.BufferedImage, java.awt.image.BufferedImage) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Parameters:
src - the source BufferedImage to be converted
dest - the destination BufferedImage, or null
Returns:
dest color converted from src or a new, converted BufferedImage if dest is null
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if dest is null and this op was constructed using the constructor which takes only a RenderingHints argument, since the operation is ill defined.

filter sample code for java.awt.image.ColorConvertOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) definition code for java.awt.image.ColorConvertOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster)

public final WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  filter(Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src,
                                   WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  dest)
ColorConverts the image data in the source Raster. If the destination Raster is null, a new Raster will be created. The number of bands in the source and destination Rasters must meet the requirements explained above. The constructor used to create this ColorConvertOp must have provided enough information to define both source and destination color spaces. See above. Otherwise, an exception is thrown.

Specified by:
filter sample code for java.awt.image.RasterOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) definition code for java.awt.image.RasterOp.filter(java.awt.image.Raster, java.awt.image.WritableRaster) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
src - the source Raster to be converted
dest - the destination WritableRaster, or null
Returns:
dest color converted from src or a new, converted WritableRaster if dest is null
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the number of source or destination bands is incorrect, the source or destination color spaces are undefined, or this op was constructed with one of the constructors that applies only to operations on BufferedImages.

getBounds2D sample code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.BufferedImage) definition code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.BufferedImage)

public final Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D  getBounds2D(BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src)
Returns the bounding box of the destination, given this source. Note that this will be the same as the the bounding box of the source.

Specified by:
getBounds2D sample code for java.awt.image.BufferedImageOp.getBounds2D(java.awt.image.BufferedImage) definition code for java.awt.image.BufferedImageOp.getBounds2D(java.awt.image.BufferedImage) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Parameters:
src - the source BufferedImage
Returns:
a Rectangle2D that is the bounding box of the destination, given the specified src

getBounds2D sample code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.Raster) definition code for java.awt.image.ColorConvertOp.getBounds2D(java.awt.image.Raster)

public final Rectangle2D sample code for java.awt.geom.Rectangle2D definition code for java.awt.geom.Rectangle2D  getBounds2D(Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
Returns the bounding box of the destination, given this source. Note that this will be the same as the the bounding box of the source.

Specified by:
getBounds2D sample code for java.awt.image.RasterOp.getBounds2D(java.awt.image.Raster) definition code for java.awt.image.RasterOp.getBounds2D(java.awt.image.Raster) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
src - the source Raster
Returns:
a Rectangle2D that is the bounding box of the destination, given the specified src

createCompatibleDestImage sample code for java.awt.image.ColorConvertOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) definition code for java.awt.image.ColorConvertOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel)

public BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  createCompatibleDestImage(BufferedImage sample code for java.awt.image.BufferedImage definition code for java.awt.image.BufferedImage  src,
                                               ColorModel sample code for java.awt.image.ColorModel definition code for java.awt.image.ColorModel  destCM)
Creates a zeroed destination image with the correct size and number of bands, given this source.

Specified by:
createCompatibleDestImage sample code for java.awt.image.BufferedImageOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) definition code for java.awt.image.BufferedImageOp.createCompatibleDestImage(java.awt.image.BufferedImage, java.awt.image.ColorModel) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Parameters:
src - Source image for the filter operation.
destCM - ColorModel of the destination. If null, an appropriate ColorModel will be used.
Returns:
a BufferedImage with the correct size and number of bands from the specified src.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if destCM is null and this ColorConvertOp was created without any ICC_Profile or ColorSpace defined for the destination

createCompatibleDestRaster sample code for java.awt.image.ColorConvertOp.createCompatibleDestRaster(java.awt.image.Raster) definition code for java.awt.image.ColorConvertOp.createCompatibleDestRaster(java.awt.image.Raster)

public WritableRaster sample code for java.awt.image.WritableRaster definition code for java.awt.image.WritableRaster  createCompatibleDestRaster(Raster sample code for java.awt.image.Raster definition code for java.awt.image.Raster  src)
Creates a zeroed destination Raster with the correct size and number of bands, given this source.

Specified by:
createCompatibleDestRaster sample code for java.awt.image.RasterOp.createCompatibleDestRaster(java.awt.image.Raster) definition code for java.awt.image.RasterOp.createCompatibleDestRaster(java.awt.image.Raster) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
src - the specified Raster
Returns:
a WritableRaster with the correct size and number of bands from the specified src
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if this ColorConvertOp was created without sufficient information to define the dst and src color spaces

getPoint2D sample code for java.awt.image.ColorConvertOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.ColorConvertOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D)

public final Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  getPoint2D(Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  srcPt,
                                Point2D sample code for java.awt.geom.Point2D definition code for java.awt.geom.Point2D  dstPt)
Returns the location of the destination point given a point in the source. If dstPt is non-null, it will be used to hold the return value. Note that for this class, the destination point will be the same as the source point.

Specified by:
getPoint2D sample code for java.awt.image.BufferedImageOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.BufferedImageOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Specified by:
getPoint2D sample code for java.awt.image.RasterOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) definition code for java.awt.image.RasterOp.getPoint2D(java.awt.geom.Point2D, java.awt.geom.Point2D) in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Parameters:
srcPt - the specified source Point2D
dstPt - the destination Point2D
Returns:
dstPt after setting its location to be the same as srcPt

getRenderingHints sample code for java.awt.image.ColorConvertOp.getRenderingHints() definition code for java.awt.image.ColorConvertOp.getRenderingHints()

public final RenderingHints sample code for java.awt.RenderingHints definition code for java.awt.RenderingHints  getRenderingHints()
Returns the rendering hints used by this op.

Specified by:
getRenderingHints sample code for java.awt.image.BufferedImageOp.getRenderingHints() definition code for java.awt.image.BufferedImageOp.getRenderingHints() in interface BufferedImageOp sample code for java.awt.image.BufferedImageOp definition code for java.awt.image.BufferedImageOp
Specified by:
getRenderingHints sample code for java.awt.image.RasterOp.getRenderingHints() definition code for java.awt.image.RasterOp.getRenderingHints() in interface RasterOp sample code for java.awt.image.RasterOp definition code for java.awt.image.RasterOp
Returns:
the RenderingHints object of this ColorConvertOp