public BufferedImage getFrame(int n) {
        BufferedImage im = null;
        if ((n >= 0) && (n < frameCount)) {
            im = ((GifFrame) frames.get(n)).image;
        }
        return im;
    }
Gets the image contents of frame n.

@return BufferedImage representation of frame, or null if n is invalid.
plugins/base-plugin/src/main/java/com/github/hui/quick/plugin/base/gif/GifDecoder.java