public class AcmeGifHelper
extends java.lang.Object
public static byte[] encodeGif(java.awt.image.BufferedImage image) throws java.io.IOException
image
- the image to encodejava.io.IOException
- an error occurred in encoding the imagepublic static byte[] encodeGif(int w, int h, int[] pixels) throws java.io.IOException
w
- the width of the imageh
- the height of the imagepixels
- the array of pixels in RGB directcolorjava.io.IOException
- an error occurred in encoding the imageCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details