Any news on what the processing overhead is like for viewing rather than creating the files? Is it less than PNG?
FLIF – Free Lossless Image Format
21–30 of 153 posts
Re: FLIF – Free Lossless Image Format
#22There was a previous discussion on HN about this: https://news.ycombinator.com/item?id=10317790
5 months ago. This is my first time seeing this item.
Re: FLIF – Free Lossless Image Format
#23If browsers supported APIs to allow "native" image/video/audio codecs to be written in JS, we could support new formats like this without needing any co-operation from the (very conservative) browser vendors. I wrote a proposal for this here: https://discourse.wicg.io/t/custom-image-audio-video-codec-a...
Re: FLIF – Free Lossless Image Format
#24Earlier quoted context omitted.
The browser would cache a copy. I've seen proposals to add hashes to links. This way, a browser might see a link to some JS on a new URL, but with the hash, it might find it already has that JS file in its cache from when it downloaded it at a different URL.
That's what Etag is for.
What the parent spoke about is adding some attribute to an anchor tag which specifies the hash of the resource so the browser can do safe cross domain caching without needing to do any request whatsoever.
Re: FLIF – Free Lossless Image Format
#25Re: FLIF – Free Lossless Image Format
#26If PNG had a lossy mode that was even slightly better than JPEG (or exactly as good but with full alpha channel support) it would have eventually supplanted JPEG just as it has now supplanted GIF.
Re: FLIF – Free Lossless Image Format
#27Re: FLIF – Free Lossless Image Format
#28Why not TIFF? 30 years old, already built into nearly every graphics application, supports everything this proposes and more. Plus it is already supported in Safari.
Re: FLIF – Free Lossless Image Format
#29Earlier quoted context omitted.
That's what Etag is for.
No it's not. Etag is completely different. It's a tag that the webserver sends together with the response and which the browser sends to the server which can then return a 304 status code to indicate that the resource has not changed and the browser can use the cached copy. What the parent spoke about is adding some attribute to an anchor tag which specifies the hash of the resource so the browser can do safe cross d…
Re: FLIF – Free Lossless Image Format
#30Honest question. Seriously not trying to dismiss the work. Why not TIFF? 30 years old, already built into nearly every graphics application, supports everything this proposes and more. Plus it is already supported in Safari. https://en.wikipedia.org/wiki/Tagged_Image_File_Format