[wp-trac] [WordPress Trac] #60628: Issues with avif image imagecreatefromavif not working. Resizing not possible.

WordPress Trac noreply at wordpress.org
Sat Feb 24 14:35:26 UTC 2024


#60628: Issues with avif image  imagecreatefromavif not working. Resizing not
possible.
--------------------------+------------------------------
 Reporter:  neo2k23       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by skithund):

 AVIF support reported by your GD is a [https://github.com/php/php-
 src/issues/12019 false positive]. You're using Ubuntu 20.04, where system
 libgd
 [https://bugs.launchpad.net/ubuntu/+source/libgd2/+bug/2031934#yui_3_10_3_1_1708785074264_150
 doesn't support AVIF].

 You've silenced errors from `imagecreatefromavif()`, but it should give a
 `imagecreatefromavif(): AVIF image support has been disabled` warning if
 AVIF isn't really available.

 Tested AVIF support with Ubuntu 20.04 and deb.sury.org repo PHP 8.3.3:
 `AVIF image support has been disabled` warning.
 Tested AVIF support with Ubuntu 22.04 and deb.sury.org repo PHP 8.3.3:
 works.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60628#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list