• Welcome to Simple Machines Community Forum. Please login or sign up.
January 18, 2022, 08:31:03 PM

News:

Want to get involved in developing SMF, then why not lend a hand on our github!


Avif image support

Started by spiros, October 11, 2021, 03:23:34 AM

Previous topic - Next topic

spiros

Avif appears to be offering much better compression/quality ration than jpg/webp and it is supported by major browsers. Maybe consider supporting it?

https://jakearchibald.com/2020/avif-has-landed/
https://www.zdnet.com/article/chrome-and-firefox-are-getting-support-for-the-new-avif-image-format/

GL700Wing

Life doesn't have to be perfect to be wonderful ...

spiros


GL700Wing

Quote from: spiros on October 11, 2021, 06:08:11 AMhttps://www.reddit.com/r/AV1/comments/m8ij2s/safari_adding_avif_support_soon/
The second link I provided is to an article from August this year and, according to the article, "... image decoding isn't done by the browser, it's done by the operating system. ... The reason why Safari doesn't support AVIF is that Apple hasn't added AVIF support to iOS, iPadOS, and macOS."

Also, the following from by Sam Sneddon, a software engineer at Apple that works on WebKit, in August this year: "The Apple ports use the system-provided image decoding capabilities; we're unlikely to deviate from that here, so any support for AVIF depends on underlying OS support. I can't comment as to whether any future OS releases will support AVIF."
Life doesn't have to be perfect to be wonderful ...

GL700Wing

I've been looking into AVIF support some more and it seems that only PHP 8 and later will support it and until then commands like getimagesize will not work for AVIF images ...
Life doesn't have to be perfect to be wonderful ...

Sesquipedalian

A modification can add this easily enough, but it won't be going into our bundled features for SMF 2.1.
I promise you nothing.
Sesqu... Sesqui... what?
Sesquipedalian, the best word in the English language.

Advertisement: