Package net.anwiba.commons.image.imagen
Class ImagenImageContainerUtilities
- java.lang.Object
-
- net.anwiba.commons.image.imagen.ImagenImageContainerUtilities
-
public class ImagenImageContainerUtilities extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ImagenImageContainerUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.eclipse.imagen.RenderedOpcolorQuantize(java.awt.image.RenderedImage image, int colorCount)static java.awt.image.RenderedImageconvertIndexColorModelToARGB(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, java.awt.image.IndexColorModel indexColorModel)static java.awt.image.BufferedImageconvertTo256ColorIndexColorModelImage(java.awt.image.BufferedImage image)static java.awt.image.BufferedImagecreateWhiteBackgroundedImage(java.awt.image.BufferedImage image)static org.eclipse.imagen.RenderedOpcrop(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float x, float y, float width, float height)static org.eclipse.imagen.InterpolationgetInterpolation(java.awt.RenderingHints hints)static org.eclipse.imagen.RenderedOpscale(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float xFactor, float yFactor, org.eclipse.imagen.Interpolation interpolation)static org.eclipse.imagen.PlanarImagetoGrayScale(java.awt.RenderingHints hints, java.awt.image.RenderedImage source)static org.eclipse.imagen.PlanarImagetoInverted(java.awt.RenderingHints hints, java.awt.image.RenderedImage source)static org.eclipse.imagen.PlanarImagetoMapped(java.awt.RenderingHints hints, org.eclipse.imagen.PlanarImage source, int[] mapping)static org.eclipse.imagen.PlanarImagetoOpacity(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, float factor)static org.eclipse.imagen.PlanarImagetoTransparent(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, java.awt.Color color)static org.eclipse.imagen.RenderedOptranslate(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float x, float y, org.eclipse.imagen.Interpolation interpolation)
-
-
-
Method Detail
-
crop
public static org.eclipse.imagen.RenderedOp crop(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float x, float y, float width, float height)
-
translate
public static org.eclipse.imagen.RenderedOp translate(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float x, float y, org.eclipse.imagen.Interpolation interpolation)
-
scale
public static org.eclipse.imagen.RenderedOp scale(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float xFactor, float yFactor, org.eclipse.imagen.Interpolation interpolation)
-
toInverted
public static org.eclipse.imagen.PlanarImage toInverted(java.awt.RenderingHints hints, java.awt.image.RenderedImage source)
-
toGrayScale
public static org.eclipse.imagen.PlanarImage toGrayScale(java.awt.RenderingHints hints, java.awt.image.RenderedImage source)
-
toOpacity
public static org.eclipse.imagen.PlanarImage toOpacity(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, float factor)
-
toMapped
public static org.eclipse.imagen.PlanarImage toMapped(java.awt.RenderingHints hints, org.eclipse.imagen.PlanarImage source, int[] mapping)
-
toTransparent
public static org.eclipse.imagen.PlanarImage toTransparent(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, java.awt.Color color)
-
convertIndexColorModelToARGB
public static java.awt.image.RenderedImage convertIndexColorModelToARGB(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, java.awt.image.IndexColorModel indexColorModel)
-
getInterpolation
public static org.eclipse.imagen.Interpolation getInterpolation(java.awt.RenderingHints hints)
-
convertTo256ColorIndexColorModelImage
public static java.awt.image.BufferedImage convertTo256ColorIndexColorModelImage(java.awt.image.BufferedImage image)
-
createWhiteBackgroundedImage
public static java.awt.image.BufferedImage createWhiteBackgroundedImage(java.awt.image.BufferedImage image)
-
colorQuantize
public static org.eclipse.imagen.RenderedOp colorQuantize(java.awt.image.RenderedImage image, int colorCount)
-
-