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

Add support for AVIF image format #53

Closed
3 tasks
Tracked by #84
BugBuster1701 opened this issue Sep 26, 2020 · 3 comments
Closed
3 tasks
Tracked by #84

Add support for AVIF image format #53

BugBuster1701 opened this issue Sep 26, 2020 · 3 comments

Comments

@BugBuster1701
Copy link
Owner

BugBuster1701 commented Sep 26, 2020

  • first Contao / Imagine: Ticket
  • check support in getimagesize / exif_imagetype: Constants
  • As an alternative via Extension: strtolower(pathinfo($imageFilename, \PATHINFO_EXTENSION));
@BugBuster1701
Copy link
Owner Author

BugBuster1701 commented Sep 26, 2020

@BugBuster1701 BugBuster1701 added the Contao 4.13 ab Contao 4.13 umsetzbar label May 21, 2022
@BugBuster1701
Copy link
Owner Author

  • getimagesize:
IMG_AVIF (int)
Used as a return value by [imagetypes()](https://www.php.net/manual/en/function.imagetypes.php) 
Available as of PHP 8.1.0.

@BugBuster1701
Copy link
Owner Author

'avif' => \defined('IMAGETYPE_AVIF') ? IMAGETYPE_AVIF : 19,
aus https://github.com/contao/contao/blob/4.13/core-bundle/src/Resources/contao/library/Contao/File.php#L270

@BugBuster1701 BugBuster1701 added this to the 1.5.0 milestone Jan 23, 2023
@BugBuster1701 BugBuster1701 added Contao 5.2+ and removed Contao 4.13 ab Contao 4.13 umsetzbar labels Dec 26, 2023
@BugBuster1701 BugBuster1701 modified the milestones: 1.5.x, 1.6.0 Dec 26, 2023
@BugBuster1701 BugBuster1701 mentioned this issue Dec 26, 2023
12 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant