private static Rect getLogicalScreenSize(Bitmap[] images) {
		// Determine the logical screen dimension assuming all the frames have the same
		// left and top coordinates (0, 0)
		int logicalScreenWidth = 0;
		int logicalScreenHeight = 0;
		
		for(Bitmap image : images) {
			if(image.getWidth() > logicalScreenWidth)
				logicalScreenWidth = image.getWidth();
			if(image.getHeight() > logicalScreenHeight)
				logicalScreenHeight = image.getHeight();
		}
		
		return new Rect(0, 0, logicalScreenWidth, logicalScreenHeight);
	}
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