Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-09-17 07:20:50

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,634
GitHub Twitter

New AVIF images format

After WEBP, here is the new AVIF images format for the future (currently not implemented within browsers market): https://jakearchibald.com/2020/avif-has-landed/


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2020-09-17 11:17:42

etc
Developer
Registered: 2010-11-11
Posts: 5,194
Website GitHub

Re: New AVIF images format

Looks promising, but we are hold by PHP getimagesize() function incompatibility (even with WEBP) in pre-7.1 versions. Time to switch to something more recent, either PHP or image library.

Offline

#3 2020-09-17 12:11:38

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: New AVIF images format

WebP is finally in Safari 14 (which released yesterday) so it’s definitely something we will be adding as part of Image Intervention plans. Obviously AVIF will have to wait.

Offline

#4 2020-09-17 14:40:23

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 329
Website

Re: New AVIF images format

Good to know WebP is on the Textpattern horizon.

AVIF may take less time than WebP to be adopted.

Offline

#5 2020-09-18 10:17:18

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Re: New AVIF images format

philwareham wrote #325929:

WebP is finally in Safari 14 (which released yesterday) so it’s definitely something we will be adding as part of Image Intervention plans. Obviously AVIF will have to wait.

Safari on IOS 14 and Safari 14 running on macOS 11 (big sur) only… not on 10.14 and 10.15.

Not sure why all that enthusiasm about the AVIF format is, as far as I can see it is just derivative from the HEVC/H.265 codecs (e.g. Apples HEIC image format but improved and start standardised).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#6 2020-09-18 11:04:25

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: New AVIF images format

phiw13 wrote #325943:

Safari on IOS 14 and Safari 14 running on macOS 11 (big sur) only… not on 10.14 and 10.15.

Not sure why all that enthusiasm about the AVIF format is, as far as I can see it is just derivative from the HEVC/H.265 codecs (e.g. Apples HEIC image format but improved and start standardised).

Oh, that’s good to know regarding Safari 14 WebP. Makes it less useful short-term.

Yeah I’m not that impressed by AVIF, much more interested in the next-gen JPEG formats coming soon.

Offline

#7 2020-09-18 11:27:41

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Re: New AVIF images format

philwareham wrote #325945:

Oh, that’s good to know regarding Safari 14 WebP. Makes it less useful short-term.

The codecs and assorted support/decoding libraries are build deep down in the OS, not inside Safari it self, thus macOS 11 and iOS 14 only.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#8 2020-09-18 14:46:43

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: New AVIF images format

philwareham wrote #325945:

Yeah I’m not that impressed by AVIF, much more interested in the next-gen JPEG formats coming soon.

I tried out the Squoosh webapp linked in the original blogpost. Happy International Talk like a Pirate Day!

Original – 1.53 MB

MozJPEG 800 × 600 – 45.8 KB

AVIF 800 × 600 – 22.57 kb

Offline

#9 2020-09-18 17:18:44

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: New AVIF images format

phiw13 wrote #325943:

Safari on IOS 14 […]

This threw me today, and I’ve just figured out why – so thanks for the pointer. I was trying to share an image over Signal, and it just wouldn’t send, either inline (pasted) or attached. Worked OK before. It turns out that WebP works just fine with iOS Safari, and WebP files are shown just like any other web bitmap, but something in Signal isn’t quite there. It can render the image at the sending side, but attempting to send it just errors out and immediately clears the error so it’s not immediately clear what went south.

Offline

#10 2020-09-18 17:47:35

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: New AVIF images format

michaelkpate wrote #325948:

I tried out the Squoosh webapp linked in the original blogpost. Happy International Talk like a Pirate Day!

The face appears slightly redder with AVIF but the quality is indeed impressive.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#11 2020-09-19 10:26:51

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,196
Website

Re: New AVIF images format

michaelkpate wrote #325948:

I tried out the Squoosh webapp linked in the original blogpost.

Just out of curiosity, I exported your image to HEIC format: 35kb for a 800×600px image. I can’t see much if any difference with the original. I used Acorn web export for this.

You can find it here. You may need a Mac or an iOS device to view, though.

ps – without knowing the (exact) export settings used for your images, I ventured a guess…


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#12 2020-09-20 03:02:19

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,263
GitHub

Re: New AVIF images format

My go-to tool for image conversion is XnConvert – it has good file format support, can batch process images really well, and when you get your head around the workflow it’s quite powerful.

Offline

Board footer

Powered by FluxBB