Class ImageUtil


  • public class ImageUtil
    extends java.lang.Object
    Image utilities class.
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.awt.Image converterPageRasterToImage​(PageRaster raster)
      Converts a PageRaster object to an Image object.
      static java.util.List<java.awt.Image> convertPageRastersToImages​(java.util.List<PageRaster> rasters)
      Converts a list of PageRaster objects to a list of Image objects
      • Methods inherited from class java.lang.Object

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

      • ImageUtil

        public ImageUtil()
    • Method Detail

      • convertPageRastersToImages

        public static java.util.List<java.awt.Image> convertPageRastersToImages​(java.util.List<PageRaster> rasters)
        Converts a list of PageRaster objects to a list of Image objects
        Parameters:
        rasters - Page rasters to convert
        Returns:
        A list of images
      • converterPageRasterToImage

        public static java.awt.Image converterPageRasterToImage​(PageRaster raster)
        Converts a PageRaster object to an Image object. Raster data is supposed to hold RGB image data
        Parameters:
        raster - Page raster to convert
        Returns:
        An image