Module net.anwiba.commons.image
Package net.anwiba.commons.image.imagen
Class ImagenImageContainerUtilities
java.lang.Object
net.anwiba.commons.image.imagen.ImagenImageContainerUtilities
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.imagen.RenderedOpcolorQuantize(RenderedImage image, int colorCount) static RenderedImageconvertIndexColorModelToARGB(RenderingHints hints, RenderedImage source, IndexColorModel indexColorModel) static BufferedImagestatic BufferedImagestatic org.eclipse.imagen.RenderedOpcrop(RenderingHints hints, RenderedImage renderedImage, float x, float y, float width, float height) static org.eclipse.imagen.HistogramgetHistogram(RenderedImage renderedImage, RenderingHints hints) static org.eclipse.imagen.InterpolationgetInterpolation(RenderingHints hints) static org.eclipse.imagen.RenderedOpscale(RenderingHints hints, RenderedImage renderedImage, float xFactor, float yFactor, org.eclipse.imagen.Interpolation interpolation) static org.eclipse.imagen.PlanarImagetoGrayScale(RenderingHints hints, RenderedImage source) static org.eclipse.imagen.PlanarImagetoInverted(RenderingHints hints, RenderedImage source) static org.eclipse.imagen.PlanarImagetoMapped(RenderingHints hints, org.eclipse.imagen.PlanarImage source, int[] mapping) static org.eclipse.imagen.PlanarImagetoOpacity(RenderingHints hints, RenderedImage source, float factor) static org.eclipse.imagen.PlanarImagetoPlanarImage(RenderedImage image) static org.eclipse.imagen.PlanarImagetoTransparent(RenderingHints hints, RenderedImage source, Color color) static org.eclipse.imagen.RenderedOptranslate(RenderingHints hints, RenderedImage renderedImage, float x, float y, org.eclipse.imagen.Interpolation interpolation)
-
Constructor Details
-
ImagenImageContainerUtilities
public ImagenImageContainerUtilities()
-
-
Method Details
-
crop
public static org.eclipse.imagen.RenderedOp crop(RenderingHints hints, RenderedImage renderedImage, float x, float y, float width, float height) -
translate
public static org.eclipse.imagen.RenderedOp translate(RenderingHints hints, RenderedImage renderedImage, float x, float y, org.eclipse.imagen.Interpolation interpolation) -
scale
public static org.eclipse.imagen.RenderedOp scale(RenderingHints hints, RenderedImage renderedImage, float xFactor, float yFactor, org.eclipse.imagen.Interpolation interpolation) -
toInverted
-
toGrayScale
public static org.eclipse.imagen.PlanarImage toGrayScale(RenderingHints hints, RenderedImage source) -
toOpacity
public static org.eclipse.imagen.PlanarImage toOpacity(RenderingHints hints, RenderedImage source, float factor) -
toMapped
public static org.eclipse.imagen.PlanarImage toMapped(RenderingHints hints, org.eclipse.imagen.PlanarImage source, int[] mapping) -
toPlanarImage
-
toTransparent
public static org.eclipse.imagen.PlanarImage toTransparent(RenderingHints hints, RenderedImage source, Color color) -
convertIndexColorModelToARGB
public static RenderedImage convertIndexColorModelToARGB(RenderingHints hints, RenderedImage source, IndexColorModel indexColorModel) -
getInterpolation
-
convertTo256ColorIndexColorModelImage
-
createWhiteBackgroundedImage
-
colorQuantize
-
getHistogram
public static org.eclipse.imagen.Histogram getHistogram(RenderedImage renderedImage, RenderingHints hints)
-