Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support dimensions for avif images #6143

Merged
merged 3 commits into from
Jan 15, 2024

Conversation

distantnative
Copy link
Member

@distantnative distantnative commented Jan 14, 2024

This PR …

https://php.watch/versions/8.1/gd-avif made me think AVIF support is always there in PHP 8.1 but our CI proofed me wrong. Adding it still is a progressive enhancement as it will still report 0 in PHP 8.1 (so no error) while getting actual results in 8.2

But this is why the unit test is commented out.

Fixes

  • Support dimensions for avif images (PHP 8.2+ or PHP 8.1 with libavif compiled)

Ready?

  • Unit tests for fixed bug/feature
  • In-code documentation (wherever needed)
  • Tests and checks all pass

For review team

@distantnative distantnative added this to the 4.0.4 milestone Jan 14, 2024
@distantnative distantnative self-assigned this Jan 14, 2024
@distantnative distantnative linked an issue Jan 14, 2024 that may be closed by this pull request
@distantnative distantnative force-pushed the fix/6141-avif-dimensions-support branch from 39499b4 to bf2c020 Compare January 14, 2024 20:15
@bastianallgeier bastianallgeier self-requested a review January 15, 2024 11:00
@bastianallgeier bastianallgeier merged commit b5dd387 into develop-patch Jan 15, 2024
7 of 10 checks passed
@bastianallgeier bastianallgeier deleted the fix/6141-avif-dimensions-support branch January 15, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Missing image dimensions / orientation of avif files
2 participants