class GIF extends java.awt.Image
Render a Map to a GIF image.
Fields inherited from class | Fields |
---|---|
class java.awt.Image |
UndefinedProperty, SCALE_DEFAULT, SCALE_FAST, SCALE_SMOOTH, SCALE_REPLICATE, SCALE_AREA_AVERAGING |
Constructor and description |
---|
GIF
() Create a new GIF |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
renderAnimated(java.util.List<BufferedImage> images, java.io.File file, int delay, boolean loop) Render a list of GIF images as an animated GIF to a File. |
|
byte[] |
renderAnimated(java.util.List<BufferedImage> images, int delay, boolean loop) Render a list of GIF images as an animated GIF to a byte array. |
Methods inherited from class | Name |
---|---|
class java.awt.Image |
java.awt.Image#getWidth(java.awt.image.ImageObserver), java.awt.Image#getHeight(java.awt.image.ImageObserver), java.awt.Image#getGraphics(), java.awt.Image#getScaledInstance(int, int, int), java.awt.Image#getCapabilities(java.awt.GraphicsConfiguration), java.awt.Image#setAccelerationPriority(float), java.awt.Image#getAccelerationPriority(), java.awt.Image#getSource(), java.awt.Image#getProperty(java.lang.String, java.awt.image.ImageObserver), java.awt.Image#flush(), java.awt.Image#wait(long), java.awt.Image#wait(long, int), java.awt.Image#wait(), java.awt.Image#equals(java.lang.Object), java.awt.Image#toString(), java.awt.Image#hashCode(), java.awt.Image#getClass(), java.awt.Image#notify(), java.awt.Image#notifyAll() |
Render a list of GIF images as an animated GIF to a File.
images
- The List of GIF imagesfile
- The Filedelay
- The delay between images in millisecondsloop
- Whether to loop continuously or notRender a list of GIF images as an animated GIF to a byte array.
images
- The List of GIF imagesdelay
- The delay between images in millisecondsloop
- Whether to loop continuously or not