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 WebP and AVIF support #6279

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

manusfreedom
Copy link

  • Add support for WebP and AVIF support
  • Use PHP IMAGETYPE_x constant
  • Remove WebP support from NetPBM

@manusfreedom manusfreedom changed the title EDV6-979 Add WebP and AVIF support Add WebP and AVIF support Apr 23, 2024
@tenzap
Copy link
Contributor

tenzap commented Apr 27, 2024

will this work for users running php < 7.1 (eg. php 5.6) ? ci3 still supports these PHP old versions.
IMAGETYPE_AVIF constant doesn't seem known by php 5 https://php-legacy-docs.zend.com/manual/php5/en/function.exif-imagetype

@manusfreedom
Copy link
Author

This is not supported in PHP 5.x, so for them you need to add a defined('IMAGETYPE_AVIF') OR define('IMAGETYPE_AVIF', 19); in constant.php..

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.

2 participants