Giter Club home page Giter Club logo

Comments (4)

0xC0000054 avatar 0xC0000054 commented on June 12, 2024 1

I don't have any other reason for adding the checkbox other than this Firefox bug. Mozilla has had that bug open for almost 4 years, I can only hope that they will eventually address it.
Adobe has not added native AVIF support to Photoshop, and they likely have way more resources than Mozilla does. When I wrote my Photoshop AVIF format plugin, I had no idea that people would still be relying on it nearly 4 years later.

I already recommended the use of libavif's CLI encoder in #24 (comment). If people need to work around that Firefox bug they can save as PNG and use that tool to convert the image to AVIF, or use this plugin on Very Slow.

from pdn-avif.

rickbrew avatar rickbrew commented on June 12, 2024

Personally I'm not a fan of adding options to work around bugs in other applications.

It seems like this significantly degrades the user experience because it prevents cancellation and progress reporting, so it probably shouldn't be worded in a way that potentially makes it enticing, e.g. "[x] Improved compression" (Does disabling tiling improve compression?)

I'm not sure there's a good way to succinctly phrase this checkbox in a user-friendly manner, so using a technical and accurate description may be the best route. Especially if it's something you can get more information on with a web search. Perhaps "[x] Enable tiling (recommended)" or "[x] Enable tiled encoding" and have it greyed out when Very Slow is chosen?

"AVIF tiled encoding" at least points someone down what looks like the right path when you search for it:
image

from pdn-avif.

0xC0000054 avatar 0xC0000054 commented on June 12, 2024

Personally I'm not a fan of adding options to work around bugs in other applications.

I agree. The degraded user experience is also a mark against this change.
Even if I added this option, tiled images would still be the plugin's default behavior. So it would not solve the Firefox compatibility issue unless the user opted-out of tiling, which can already be done with the Very Slow preset.

As far as I know, Firefox is one of the few browsers with this bug. A comment on that bug report indicates that Safari has the same issue (or at least some versions of it do).

from pdn-avif.

rickbrew avatar rickbrew commented on June 12, 2024

It's also completely non-obvious that you'd use that checkbox to work around the Firefox issue.

My recommendation would be that if you can't find another reason to include the checkbox, then don't. Firefox needs to fix their bug(s). AVIF is a relatively new and high-profile format, folks are excited about it, there should be someone willing to go in and do this -- we're not talking about some bit-rotted code for handling TIFFs or DIBs that nobody understands anymore because it was written on punch cards

from pdn-avif.

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.