Skip to content

Division by zero error when using ImageOps.exif_transpose since Pillow 11.0 #8478

@fabienarnaud

Description

@fabienarnaud

Hi,

Some jpg images are returning a "division by zero" error since the Pillow version 11.0 was released when using the ImageOps.exif_transpose() function.

Below is for example 1 of these images with its exif information, using Pillow version 10.4:

image

The same image and code, now with Pillow 11.0.0:

image

Some more error details:
image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions