News for hackers. Stuff that matters.
Re:AVIF support enabled by default in Firefox 86 by jiggawatts on Saturday January 09, 2021 @10:19PM (#25709037)
On that demo page if I switch between the original, jpeg, webp, and avif tabs, the colors shift visibly. I have an AdobeRGB wide-color-gamut monitor configured in 10-bit mode, use Firefox with color-management enabled, and I have the AdobeRGB profile correctly set in Windows.

It is incredible to me that in 2021 the web makes it impossible to get even vaguely correct colours onto a screen.

I don't know who's to blame here: Web standards bodies, Mozilla, or the specific AVIF decoder.

But I do know that color-blind people are creating the next generation of imaging standards.

Re:AVIF support enabled by default in Firefox 86 by Hnrobert42 on Saturday January 09, 2021 @11:00PM (#25709691)
Hey! Leave us out of it. I can see the differences, too. The folks to blame aren’t colorblind. They are color indifferent. :-)
Re:AVIF support enabled by default in Firefox 86 by GordonS on Sunday January 10, 2021 @05:47AM (#25713313)
Huh, must depend what type of colour-blindness, and/or how severe, as I can't tell any difference in colour whatsoever.
Re:AVIF support enabled by default in Firefox 86 by Hnrobert42 on Sunday January 10, 2021 @09:13AM (#25714765)
I am red-green colorblind. I was able to see the changes on the yellow car drawn by SVG. If there were lots of other changes, I couldn’t see those.
Re:AVIF support enabled by default in Firefox 86 by gsnedders on Saturday January 09, 2021 @11:11PM (#25709827)
Given the original (lossless AVIF) and AVIF tabs match up and the others differ, I wonder if things went wrong with converting to the other formats? I don't have the time to look into the detail here right now, but it could simply be a case of the conversion between the formats losing the the colour space data from the image?

The one group highly unlikely to blame here is web standards bodies, who don't have anything to do with how image formats are rendered (it gets as far as defining the default colour space when none is provided, but that's it). But I'd guess it's likely an image file problem rather than a display problem.

Re:AVIF support enabled by default in Firefox 86 by jiggawatts on Sunday January 10, 2021 @01:00AM (#25711115)
> The one group highly unlikely to blame here is web standards bodies

I'm pretty sure I can blame a web standards body for not standardising colour management for the web!

The colour space of embedded images is no longer the only concern, and is not separate from the colours as defined in CSS, SVG, and Canvas to name a few.

Not to mention that even greyscale images need colour management because Macs, PCs, and Televisions all use different gamma curves.

W3C's efforts have been so underwhelming that Apple, the "bastion" of web standards support has been forced to come up with a non-standard extension: https://webkit.org/blog/10042/wide-gamut-color-in-css-with-d...

Of course, their extension supports exactly two colour spaces: sRGB and Display P3, because fuck everyone else who isn't using an iDevice or a Mac, am I right?

If I sound salty, it's because I'm a photographer, and as such it grinds my gears that it is literally impossible to use wide-gamut images on the web for any purpose without degrading quality for a substantial fraction of the viewers. I fully expect this to be resolved satisfactorily some time in the 2030s, perhaps the 2040s. Any decade now...

Re:AVIF support enabled by default in Firefox 86 by pbowyer on Sunday January 10, 2021 @08:13AM (#25714364)
As a former photographer, I agree.

I found this article on fidelity vs appeal handy, especially to illuminate the problems with AVIF's algorithm when you are showing off photos.

https://cloudinary.com/blog/what_to_focus_on_in_image_compre...

I'm waiting for JPEG-XL. And then color management after that.

Re:AVIF support enabled by default in Firefox 86 by whereistimbo on Sunday January 10, 2021 @01:22AM (#25711342)
W3C? Isn't WHATWG the standard that everybody follows?
Re:AVIF support enabled by default in Firefox 86 by epse on Sunday January 10, 2021 @04:09AM (#25712637)
Yes but also sort of no? It's a whole can of worms, which Web standard is done by who
Re:AVIF support enabled by default in Firefox 86 by arp242 on Sunday January 10, 2021 @05:08AM (#25713043)
I think we need a standard to specify which standards organisation to use.
Re:AVIF support enabled by default in Firefox 86 by psee on Monday January 18, 2021 @02:26AM (#25819183)
Let's start with a working group
Re:AVIF support enabled by default in Firefox 86 by jaffathecake on Sunday January 10, 2021 @03:40AM (#25712401)
Might be worth filling a bug with Mozilla. I'm pretty sure the files I used don't carry colour profile info that would cause this difference, but I've been wrong before.
Re:AVIF support enabled by default in Firefox 86 by theandrewbailey on Monday January 11, 2021 @11:38AM (#25731368)
I think this one is it? I've kept my eye on it for a while, but it doesn't look like there's been any movement for some time.

https://bugzilla.mozilla.org/show_bug.cgi?id=1634741

Re:AVIF support enabled by default in Firefox 86 by jiggawatts on Monday January 11, 2021 @06:19PM (#25739462)
That does seem to be the issue!

The other image formats are colour-managed, so they look relatively desaturated on my WCG monitor. The AVIF images look "stretched" to the full gamut, making them garishly oversaturated.

Re:AVIF support enabled by default in Firefox 86 by gilrain on Sunday January 10, 2021 @11:34AM (#25716374)
Test in other browsers; I know of at least two bugs related to color accuracy in Firefox. They get brought up all the time in support forums like r/Firefox.
Re:AVIF support enabled by default in Firefox 86 by Cullinet on Sunday January 10, 2021 @06:18AM (#25713525)
I'm safari on a iPhone 11 I'm not seeing a difference between the car images in different tabs at all.
Re:AVIF support enabled by default in Firefox 86 by thefounder on Sunday January 10, 2021 @07:09AM (#25713904)
Me neither...i guess to test it you need to click on it and compare the zoomed frames