Contents
Class GifSequenceWriter
java.lang.Object
com.hypixel.hytale.worldgen.noiseviewer.util.GifSequenceWriter
-
Constructor Summary
ConstructorsConstructorDescriptionGifSequenceWriter(ImageOutputStream outputStream, int imageType, int timeBetweenFramesMS, boolean loopContinuously) Creates a new GifSequenceWriter -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close this GifSequenceWriter object.static voidpublic GifSequenceWriter( BufferedOutputStream outputStream, int imageType, int timeBetweenFramesMS, boolean loopContinuously) {void
-
Constructor Details
-
GifSequenceWriter
public GifSequenceWriter(ImageOutputStream outputStream, int imageType, int timeBetweenFramesMS, boolean loopContinuously) throws IOException Creates a new GifSequenceWriter- Parameters:
outputStream- the ImageOutputStream to be written toimageType- one of the imageTypes specified in BufferedImagetimeBetweenFramesMS- the time between frames in milisecondsloopContinuously- wether the gif should loop repeatedly- Throws:
IIOException- if no gif ImageWriters are foundIOException
-
-
Method Details
-
writeToSequence
- Throws:
IOException
-
close
Close this GifSequenceWriter object. This does not close the underlying stream, just finishes off the GIF.- Throws:
IOException
-
main
-