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 support for AVIF format #742

Closed
jonnitto opened this issue Oct 28, 2020 · 12 comments · Fixed by #791
Closed

Add support for AVIF format #742

jonnitto opened this issue Oct 28, 2020 · 12 comments · Fixed by #791
Milestone

Comments

@jonnitto
Copy link

Currently, these files formats are supported: jpg, jpeg, gif, png, wbmp, xbm, webp, and bmp

But there is already the next generation of image formats here: AVIF. You can read more about it here

With this option, we could even serve faster websites with PHP and this library 🚀

@ausi
Copy link
Contributor

ausi commented Oct 29, 2020

👍 AVIF support would be great!

But I think we have to wait until the underlying libraries that Imagine uses add support the AVIF format:

@SoftCreatR
Copy link

SoftCreatR commented Oct 30, 2020

Imagick already supports AVIF. It just depends on the installed ImageMagick version and the installed/compiled delegates:

image

As for the ImageMagick installation (including HEIF/HEIX/AVIF), you may check this out: https://github.com/SoftCreatR/imei

@jonnitto
Copy link
Author

@ausi Could create an issue for GMagick?. I already created also one for imagine/imagine package doesn't support avif yet.

@SoftCreatR
Copy link

SoftCreatR commented Oct 30, 2020

@jonnitto The problem is, that GMagick is just a wrapper around GraphicsMagick and according to this list, neither HEIC nor AVIF is supported by GraphicsMagick, yet.

@Renkas
Copy link

Renkas commented Nov 8, 2020

But why not open a issue in GraphicsMagick's tracker then?

@markusguenther
Copy link

But why not open a issue in GraphicsMagick's tracker then?

Found this repository but not sure if they are using github somewhere?
https://sourceforge.net/p/graphicsmagick/code/ci/default/tree/

@ausi
Copy link
Contributor

ausi commented Nov 10, 2020

It seems that there is interest in supporting AVIF from @bobfriesenhahn (the maintainer of GraphicsMagick): https://sourceforge.net/p/graphicsmagick/discussion/250738/thread/3082583888/

The issue tracker for feature requests is hosted here I think: https://sourceforge.net/p/graphicsmagick/feature-requests/

@ausi
Copy link
Contributor

ausi commented Feb 13, 2021

Pull request for AVIF support in Imagick driver: #759

@bobfriesenhahn
Copy link

bobfriesenhahn commented Feb 13, 2021 via email

@ausi
Copy link
Contributor

ausi commented Feb 13, 2021

I am the main GraphicsMagick developer, but have nothing to do with Imagine.

Imagine is based on three different PHP extensions, one of them is Gmagick which itself uses GraphicsMagick. That’s why Imagine can only support AVIF once the underlying libraries themselfs support this format (that is what I tried to point out in this GitHub Issue ☺️).

I am a bit confused.

I guess you are receiving these emails because I mentioned your GitHub username in #742 (comment) 🙂

@bobfriesenhahn
Copy link

bobfriesenhahn commented Feb 13, 2021 via email

@mlocati
Copy link
Collaborator

mlocati commented Sep 30, 2021

This is done in #759. PHP 8.1 adds support for AVIF to GD too (still to be implemented)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

7 participants