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

AVIF #256

Open
S1SYPHOS opened this issue Sep 12, 2020 · 9 comments
Open

AVIF #256

S1SYPHOS opened this issue Sep 12, 2020 · 9 comments

Comments

@S1SYPHOS
Copy link
Collaborator

Hey there,
it's been a while since we last talked. I finished my studies and want to add AVIF support by including its Rust implementation - but is this really a job for webp-convert or a stand-alone library, what do you say?

Cheers,
S1SYPHOS

@rosell-dk
Copy link
Owner

I've been pondering the same question. I think the cleanest solution is a new library even though much of the code will be identical.

@rosell-dk
Copy link
Owner

@rosell-dk
Copy link
Owner

Just like with webp, there are several ways to convert. Vips and ImageMagick supports AVIF. So it makes sense to make a library like webp-convert, but for avif, which is what I intend to do: https://github.com/rosell-dk/avif-convert

@rosell-dk
Copy link
Owner

Just been sidetracked, developing this new library: https://github.com/rosell-dk/htaccess-capability-tester

@S1SYPHOS
Copy link
Collaborator Author

S1SYPHOS commented Sep 12, 2020

You're very productive, my friend, and I really admire what you have done since last we spoke!

@S1SYPHOS
Copy link
Collaborator Author

S1SYPHOS commented Sep 12, 2020

I've been pondering the same question. I think the cleanest solution is a new library even though much of the code will be identical.

That's what why it should be incorporated, no? Like php-nextgen-images (or whatever).

Maybe make all general purpose stuff (logging, read/write checks, ..) a separate package (like you did with the file type guesser) and make it a common dependency for both webp-convert and avif-convert?

@rosell-dk
Copy link
Owner

Thanks :)
A common dependency sounds right!

@dkrnl
Copy link

dkrnl commented Apr 3, 2021

hi all!

good news everyone:

  1. libgd merged support avif -- AVIF support libgd/libgd#671
  2. wait php -- Added suport for AVIF to getimagesize(). php/php-src#5127

@S1SYPHOS
Copy link
Collaborator Author

S1SYPHOS commented Apr 3, 2021

Still has to land on (shared) hosting servers, which should take a while - but that's great news indeed!

Thanks for letting us know!

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

No branches or pull requests

3 participants