public class ColorTools extends Object
Constructor and Description |
---|
ColorTools() |
public BufferedImage correctImage(BufferedImage src, File file) throws ImageReadException, IOException
ImageReadException
IOException
public BufferedImage relabelColorSpace(BufferedImage bi, ICC_Profile profile) throws ImagingOpException
ImagingOpException
public BufferedImage relabelColorSpace(BufferedImage bi, ColorSpace cs) throws ImagingOpException
ImagingOpException
public BufferedImage relabelColorSpace(BufferedImage bi, ColorModel cm) throws ImagingOpException
ImagingOpException
public ColorModel deriveColorModel(BufferedImage bi, ColorSpace cs) throws ImagingOpException
ImagingOpException
public ColorModel deriveColorModel(BufferedImage bi, ColorSpace cs, boolean force_no_alpha) throws ImagingOpException
ImagingOpException
public ColorModel deriveColorModel(ColorModel old_cm, ColorSpace cs, boolean force_no_alpha) throws ImagingOpException
ImagingOpException
public BufferedImage convertToColorSpace(BufferedImage bi, ColorSpace to)
public BufferedImage convertTosRGB(BufferedImage bi)
protected BufferedImage convertFromColorSpace(BufferedImage bi, ColorSpace from)
public BufferedImage convertBetweenICCProfiles(BufferedImage bi, ICC_Profile from, ICC_Profile to)
public BufferedImage convertToICCProfile(BufferedImage bi, ICC_Profile to)
public BufferedImage convertBetweenColorSpacesX2(BufferedImage bi, ColorSpace from, ColorSpace to)
public BufferedImage convertBetweenColorSpaces(BufferedImage bi, ColorSpace from, ColorSpace to)
Copyright © 2007-2012. All Rights Reserved.