Class BigBufferedImage

java.lang.Object
java.awt.Image
java.awt.image.BufferedImage
org.apache.sedona.viz.core.BigBufferedImage
All Implemented Interfaces:
RenderedImage, WritableRenderedImage, Transparency

public class BigBufferedImage extends BufferedImage
The Class BigBufferedImage.
  • Field Details

    • MAX_PIXELS_IN_MEMORY

      public static final int MAX_PIXELS_IN_MEMORY
      The Constant MAX_PIXELS_IN_MEMORY.
      See Also:
  • Method Details

    • create

      public static BufferedImage create(int width, int height, int imageType)
      Creates the buffered image.
      Parameters:
      width - the width
      height - the height
      imageType - the image type
      Returns:
      the buffered image
    • create

      public static BufferedImage create(File inputFile, int imageType) throws IOException
      Creates the buffered image.
      Parameters:
      inputFile - the input file
      imageType - the image type
      Returns:
      the buffered image
      Throws:
      IOException - Signals that an I/O exception has occurred.
    • dispose

      public static void dispose(RenderedImage image)
      Dispose.
      Parameters:
      image - the image
    • dispose

      public void dispose()
      Dispose.