Class ImagenImageContainerUtilities


  • public class ImagenImageContainerUtilities
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.eclipse.imagen.RenderedOp colorQuantize​(java.awt.image.RenderedImage image, int colorCount)  
      static java.awt.image.RenderedImage convertIndexColorModelToARGB​(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, java.awt.image.IndexColorModel indexColorModel)  
      static java.awt.image.BufferedImage convertTo256ColorIndexColorModelImage​(java.awt.image.BufferedImage image)  
      static java.awt.image.BufferedImage createWhiteBackgroundedImage​(java.awt.image.BufferedImage image)  
      static org.eclipse.imagen.RenderedOp crop​(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float x, float y, float width, float height)  
      static org.eclipse.imagen.Interpolation getInterpolation​(java.awt.RenderingHints hints)  
      static org.eclipse.imagen.RenderedOp scale​(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float xFactor, float yFactor, org.eclipse.imagen.Interpolation interpolation)  
      static org.eclipse.imagen.PlanarImage toGrayScale​(java.awt.RenderingHints hints, java.awt.image.RenderedImage source)  
      static org.eclipse.imagen.PlanarImage toInverted​(java.awt.RenderingHints hints, java.awt.image.RenderedImage source)  
      static org.eclipse.imagen.PlanarImage toMapped​(java.awt.RenderingHints hints, org.eclipse.imagen.PlanarImage source, int[] mapping)  
      static org.eclipse.imagen.PlanarImage toOpacity​(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, float factor)  
      static org.eclipse.imagen.PlanarImage toTransparent​(java.awt.RenderingHints hints, java.awt.image.RenderedImage source, java.awt.Color color)  
      static org.eclipse.imagen.RenderedOp translate​(java.awt.RenderingHints hints, java.awt.image.RenderedImage renderedImage, float x, float y, org.eclipse.imagen.Interpolation interpolation)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ImagenImageContainerUtilities

        public ImagenImageContainerUtilities()
    • 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)