gulp-responsive icon indicating copy to clipboard operation
gulp-responsive copied to clipboard

Support for AVIF?

Open cssagogo opened this issue 4 years ago • 2 comments

It looks like AVIF is not supported though it appears that it is by sharp. From the sharp site...

The typical use case for this high speed Node.js module is to convert large images in common formats to smaller, web-friendly JPEG, PNG, AVIF and WebP images of varying dimensions.

But in the console i get the following...

Expected one of: heic, heif, jpeg, jpg, png, raw, tiff, webp for format but received unsupported of type string

Is there a plan to add support for this?

cssagogo avatar Aug 06 '21 23:08 cssagogo

Is this just a matter of updating to the most recent version of sharp v0.28.3?

cssagogo avatar Aug 06 '21 23:08 cssagogo

Updating sharp is a necessary step since support for AVIF was added in version 0.27. I don't know if work is needed beyond that.

steakpinball avatar Aug 07 '21 01:08 steakpinball