def METHOD_NAME(original_image):
    # TO DO issue #2026 : This does not handle URL
    # uploads.
    # If an image has an EXIF Orientation tag, other than 1,
    # return a new image that is transposed accordingly.
    # The new image will have the orientation data removed.
    # https://pillow.readthedocs.io/en/stable/_modules/PIL/ImageOps.html#exif_transpose
    # Otherwise, return a copy of the image. If an image
    # has an EXIF Orientation tag of 1, it might still
    # need to be rotated, but we can handle that manually
    # in the review process.
    pil_image = PillowImage.open(original_image)
    for orientation in ExifTags.TAGS:
        if ExifTags.TAGS[orientation] == "Orientation":
            break
        exif = pil_image.getexif()
        if exif and exif.get(274):
            pil_image = ImageOps.exif_transpose(pil_image)
        buffer = BytesIO()
        pil_image.save(buffer, "PNG")
    return pil_image