webp-convert icon indicating copy to clipboard operation
webp-convert copied to clipboard

AVIF

Open S1SYPHOS opened this issue 4 years ago • 9 comments

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

S1SYPHOS avatar Sep 12 '20 18:09 S1SYPHOS

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 avatar Sep 12 '20 18:09 rosell-dk

https://github.com/rosell-dk/webp-express/issues/432

rosell-dk avatar Sep 12 '20 18:09 rosell-dk

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 avatar Sep 12 '20 18:09 rosell-dk

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

rosell-dk avatar Sep 12 '20 19:09 rosell-dk

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

S1SYPHOS avatar Sep 12 '20 19:09 S1SYPHOS

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?

S1SYPHOS avatar Sep 12 '20 19:09 S1SYPHOS

Thanks :) A common dependency sounds right!

rosell-dk avatar Sep 12 '20 20:09 rosell-dk

hi all!

good news everyone:

  1. libgd merged support avif -- https://github.com/libgd/libgd/pull/671
  2. wait php -- https://github.com/php/php-src/pull/5127

dkrnl avatar Apr 03 '21 12:04 dkrnl

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

Thanks for letting us know!

S1SYPHOS avatar Apr 03 '21 13:04 S1SYPHOS