Problem/Motivation

The module currently supports WebP images through the ImageAPI Optimize WebP and WebP modules. We should probably add the same support for the following modules:

ImageAPI Optimize AVIF & WebP
ImageAPI Optimize AVIF
AVIF

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit
CommentFileSizeAuthor
#4 3355234-4.patch4.89 KBseanb

Comments

seanB created an issue. See original summary.

dennis cohn’s picture

Is there any update about this feature? Would be nice to support AVIF format since its supported in all major browsers.

seanb’s picture

I was waiting for support in Edge, but apparently this was added earlier this year. I guess we can do this now! Thanks for the reminder I will try to get this in asap.

seanb’s picture

Status: Active » Needs review
StatusFileSize
new4.89 KB

Here is a first patch with support for the Avif module.

  • 79e5c8b3 committed on 1.3.x
    Issue #3355234 by seanB: Add AVIF support for created images
    
seanb’s picture

Status: Needs review » Fixed

Just committed this since I'm using it successfully in existing projects. It also doesn't really do anything without the AVIF module enabled.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.