Package org.apache.sedona.viz.core
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 Summary
Fields Modifier and Type Field Description static int
MAX_PIXELS_IN_MEMORY
The Constant MAX_PIXELS_IN_MEMORY.-
Fields inherited from class java.awt.image.BufferedImage
TYPE_3BYTE_BGR, TYPE_4BYTE_ABGR, TYPE_4BYTE_ABGR_PRE, TYPE_BYTE_BINARY, TYPE_BYTE_GRAY, TYPE_BYTE_INDEXED, TYPE_CUSTOM, TYPE_INT_ARGB, TYPE_INT_ARGB_PRE, TYPE_INT_BGR, TYPE_INT_RGB, TYPE_USHORT_555_RGB, TYPE_USHORT_565_RGB, TYPE_USHORT_GRAY
-
Fields inherited from class java.awt.Image
accelerationPriority, SCALE_AREA_AVERAGING, SCALE_DEFAULT, SCALE_FAST, SCALE_REPLICATE, SCALE_SMOOTH, UndefinedProperty
-
Fields inherited from interface java.awt.Transparency
BITMASK, OPAQUE, TRANSLUCENT
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BufferedImage
create(int width, int height, int imageType)
Creates the buffered image.static BufferedImage
create(File inputFile, int imageType)
Creates the buffered image.void
dispose()
Dispose.static void
dispose(RenderedImage image)
Dispose.-
Methods inherited from class java.awt.image.BufferedImage
addTileObserver, coerceData, copyData, createGraphics, getAlphaRaster, getColorModel, getData, getData, getGraphics, getHeight, getHeight, getMinTileX, getMinTileY, getMinX, getMinY, getNumXTiles, getNumYTiles, getProperty, getProperty, getPropertyNames, getRaster, getRGB, getRGB, getSampleModel, getSource, getSources, getSubimage, getTile, getTileGridXOffset, getTileGridYOffset, getTileHeight, getTileWidth, getTransparency, getType, getWidth, getWidth, getWritableTile, getWritableTileIndices, hasTileWriters, isAlphaPremultiplied, isTileWritable, releaseWritableTile, removeTileObserver, setData, setRGB, setRGB, toString
-
Methods inherited from class java.awt.Image
flush, getAccelerationPriority, getCapabilities, getScaledInstance, setAccelerationPriority
-
-
-
-
Field Detail
-
MAX_PIXELS_IN_MEMORY
public static final int MAX_PIXELS_IN_MEMORY
The Constant MAX_PIXELS_IN_MEMORY.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
public static BufferedImage create(int width, int height, int imageType)
Creates the buffered image.- Parameters:
width
- the widthheight
- the heightimageType
- 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 fileimageType
- 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.
-
-