Converts an IP number to a flag image in a texture atlas.