Git Product home page Git Product logo

Comments (6)

G2G2G2G avatar G2G2G2G commented on June 12, 2024

firefox currently has a bug where all AVIF appear to be darker, even if they're lossless. It's the same for all encoders (gimp as well) it is a firefox issue. No idea about the others.

from cavif.

TianyiShi2001 avatar TianyiShi2001 commented on June 12, 2024

I agree that it's probably the problem of Firefox. Viewing on chrome seems normal.

from cavif.

baumanj avatar baumanj commented on June 12, 2024

Firefox AVIF dev here:

out-cavif.avif from the attached demo archive is full range, BT.2020 primaries, BT.2020 10-bit transfer function, identity matrix.

out-internet.avif is limited range and primaries, transfer function and matrix are all "unspecified", which defaults to BT.709 per MIAF.

With regards to Firefox's rendering of the first there are two issues:

  1. AVIF files tagged with full range are decoded as limited range
  2. AVIF support for 10-bit or 12-bit channels (full pipeline support is a bigger issue, but this issue is for tone-mapping, so that things look more correct when putting 10-bit into a 8-bit space)

The full-range issue should hopefully be addressed soon, the tonemapping is likely to take longer. In the meantime, you should get better results using bt709 and/or limited range.

from cavif.

darkcharmander avatar darkcharmander commented on June 12, 2024

@baumanj Thanks for you comment!

I've abandoned AVIF for quite some time now, because Linux and iOS support is still non-existent. I want AVIF to work on these platforms too before I make a full shift. JPEG XL has also arrived now, so it's all getting more heated up.

I made a post on Reddit, and essentially asked the same question as here: AVIF images color loss/change

You can view the post by heading to the link. I tested several scenarios, and the best settings for AVIF seem to be (YUV444, full) --cicp 1/13/1, which I've (admbot is my name there) also posted with an explanation as to why it is the best setting. I hope that things improve...

from cavif.

G2G2G2G avatar G2G2G2G commented on June 12, 2024

@darkcharmander Linux "support is still non-existent" uhh I wouldn't go that far... what are you calling "support"? thumbnails work by default for over a year on several distros file managers (thunar, nemo, etc)... Windows requires an extension for it to work, which is provided on the windows store. No idea about iOS or OS X, they're pretty irrelevant, but I know they love HEIC.

from cavif.

baumanj avatar baumanj commented on June 12, 2024

Apple hasn't released any information about their plans for official iOS or macOS support, but there is https://github.com/dreampiggy/AVIFQuickLook, which I've found useful.

from cavif.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.