Skip to content

Conversation

epou
Copy link

@epou epou commented May 26, 2025

Fixes #8965. Alternative to #8970 and #8966

Changes proposed in this pull request:

  • Override __float__ method in IFDRational
  • Make IFDRational behave more like a float when the denominator.

epou and others added 2 commits May 28, 2025 08:27
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ImageOps.exif_transpose() raises struct.error on invalid EXIF rational
2 participants