Skip to content

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