public void write(Bitmap img, OutputStream os) throws Exception {
		if(img == null) throw new NullPointerException("Input image is null");
		int imageWidth = img.getWidth();
		int imageHeight = img.getHeight();
		int pixels[] = new int[imageWidth * imageHeight];
		img.getPixels(pixels, 0, imageWidth, 0, 0, imageWidth, imageHeight);
		write(pixels, imageWidth, imageHeight, os);
	}
A child is made up of a parent(or prefix) code plus a suffix color
and siblings are strings with a common parent(or prefix) and different
suffix colors
subs/gif-revert/src/main/java/com/engineer/gif/revert/lib/AnimatedGIFWriter.java