Class ImagenImageContainerUtilities

java.lang.Object
net.anwiba.commons.image.imagen.ImagenImageContainerUtilities

public class ImagenImageContainerUtilities extends Object
  • 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

      public static org.eclipse.imagen.PlanarImage toInverted(RenderingHints hints, RenderedImage source)
    • 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

      public static org.eclipse.imagen.PlanarImage toPlanarImage(RenderedImage image)
    • 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

      public static org.eclipse.imagen.Interpolation getInterpolation(RenderingHints hints)
    • convertTo256ColorIndexColorModelImage

      public static BufferedImage convertTo256ColorIndexColorModelImage(BufferedImage image)
    • createWhiteBackgroundedImage

      public static BufferedImage createWhiteBackgroundedImage(BufferedImage image)
    • colorQuantize

      public static org.eclipse.imagen.RenderedOp colorQuantize(RenderedImage image, int colorCount)
    • getHistogram

      public static org.eclipse.imagen.Histogram getHistogram(RenderedImage renderedImage, RenderingHints hints)