Jump to content
You must now use your email address to sign in [click for more info] ×

AVIF file format support would be nice web browsers start to support it.


Recommended Posts

  • 1 month later...
  • 3 weeks later...

Seeing as how Apple hasn't supported WebP in their web browsers for 10 years, and no major graphics application supports WebP either, I wouldn't hold your breath for AVIF support. Especially since the accepted way to convert image files to these formats is to use build tools and <picture> element fallbacks.

I just use a script that converts all my PNG files to WebP and AVIF, and use partials/components in my code to handle the fallback HTML code.

It would be nice to not have to rely on the script to create WebP and AVIF files, but I would still have to rely on scripts because I run some image optimizers that remove metadata and optimize the compression to make PNG and JPEGs much smaller. So, practically I don't think adding AVIF support would really improve the quality of life for people who make images for the web.

What would be nice is to include the same functionality that jpegoptim and OptiPNG have within the export options. It would dramatically reduce the file sizes for images (good selling point against Adobe's file export) and with those optimizations bundled with WebP and AVIF support I would not need those scripts at all. That would be a huge benefit for people creating WordPress websites that don't optimize their files before uploading them.

Graphic design, software development, and education for underestimated creatives. Squirrel Logic

Link to comment
Share on other sites

  • 2 weeks later...

CloudFlare just announced that they will be supporting this format and it looks like it's going to be widely adopted by browsers much quicker than the failed Webp format.

https://blog.cloudflare.com/generate-avif-images-with-image-resizing/

Affinity needs to lead the market and get support for this built in first.

Link to comment
Share on other sites

+1 for this but its bit too early. 0.8.1 works kind of good but recent (daily) builds were wonky for me (quality/filesize ratio was worst and color tone shifted too) i would wait a bit for more ironed out releases. Also JpegXL comming next year too.

GIMP added AVIF support just now but its only partial implementation, there is no way to disable chroma subsampling.

For everyone interested i recommending to download AVIF CLI tools.

https://github.com/AOMediaCodec/libavif/releases/tag/v0.8.1

Comparison :

https://cloudinary.com/blog/how_jpeg_xl_compares_to_other_image_codecs

On my website (signature) i have added .avif for projects thumbnails already -> better and more consistent results than WebP

Core i7 4770 - AMD Radeon RX 6500XT - 32GB RAM - Asus z87-Pro - Asus Phoebus - Windows 7 x64 SP1 / Windows 10 x64) - https://danielmoravek.com

Link to comment
Share on other sites

I've been using the go-avif CLI tool for encoding, and it's been working pretty well. I haven't switched over to the bleeding edge AVIF CLI tools yet.

Because people were talking about it so much, I shared the PowerShell source code I use to create WebP and AVIF files. As I mentioned above, because graphics for the web benefit from image optimizers that remove necessary data and can brute-force different compression techniques to find the smallest file, I think CLI scripts are the best solution for now until optimization is also included in the exporting options.

And yes, I also can't wait for JPEG XL. It's a very elegant solution.

Graphic design, software development, and education for underestimated creatives. Squirrel Logic

Link to comment
Share on other sites

  • 2 months later...
On 9/24/2020 at 3:21 AM, Squirrel Logic said:

Seeing as how Apple hasn't supported WebP in their web browsers for 10 years, and no major graphics application supports WebP either, I wouldn't hold your breath for AVIF support. Especially since the accepted way to convert image files to these formats is to use build tools and <picture> element fallbacks.

Agree. Until Apple decides to adopt AVIF, handling these next-gen formats on the hosting / website level seems to be the best solution in most cases.

That being said, I do hope Apple will do so asap. The comparisons I've glanced are very good. And who knows... webp is Google's, but Apple is part of the AV1 group. If Apple / Safari does adopt AVIF, then the Affinity range shall do so as well, as we're talking about like.... >95% browser share? Probably won't happen for a year or so though.

Cheers.

Link to comment
Share on other sites

  • 1 month later...

we absolutely need first class support for avif, webp, and heic formats.  for those discussing browser coverage i suggest you consider updating your html alongside your images.  also safari has supported webp since big sur launched.

<picture>
	<source type="image/avif" srcset="..." />
	<source type="image/webp" srcset="..." />
	<img src="..." srcset="..." alt="..." width="..." height="..." loading="lazy" />
</picture>

 

Link to comment
Share on other sites

On 2/20/2021 at 1:23 PM, redesigned said:

we absolutely need first class support for avif, webp, and heic formats.  for those discussing browser coverage i suggest you consider updating your html alongside your images.  also safari has supported webp since big sur launched.


<picture>
	<source type="image/avif" srcset="..." />
	<source type="image/webp" srcset="..." />
	<img src="..." srcset="..." alt="..." width="..." height="..." loading="lazy" />
</picture>

 

AVIF uses HEIC container. Apple is on the membership of alliance for open media so it's likely they will support AV1 and AVIF. Unlike webp which isn't fully free (as in freedom)

For now exporting I use gimp or command line tools, but sure would like affinity photo to be able to export AVIF, especially if the new preview feature is available with it.

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...
22 hours ago, Old Bruce said:

Isn't AVIF used primarily as a compressed Video format?

No, AV1 is used for video, AVIF is an image format based on the same encoder.

I am also very keen to see AVIF export available in Affinity Photo. If supported, it would be the easiest way to author AVIF files currently, and if AVIF HDR image export from 32 bit documents was also supported, not only would it be an awesome timesaver, it would probably increase the adoption of HDR image and video support on the web.

I have spent the last 8 hours building a pipeline to generate HDR AVIF files using a combination of strict input file requirements and command line tools - if this could be replaecd with a simple export dialog, that would be a gamechanger.

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

Support for avif would make a lot of sense for affinity photo due to it already having an ability to master images in 10 bit HDR. Avif seems to be the first image format with 10 bit hdr that isn't encumbered by patents and is aimed to be a full mainstream jpeg replacement with support from tech giants and already deployed in many large platforms.

i've trialed affinity photo twice in the past and have yet to buy it. If it gets avif support soon enough, it might become the first app to support sensible HDR 10 PQ image workflow, and I'd definitely buy it and use it.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.