def _populate_image_meta(new_image, image_data):
    """
    Populates an existing dict with image meta information.

    Args:
        new_image (dict):
        image_data (np.ndarray): image data in RGB

    Returns:
        dict: dict with image meta information
    """
    new_image["width"] = image_data.shape[0]
    new_image["height"] = image_data.shape[1]
    return new_image