Most active commenters
  • illiac786(5)

←back to thread

A new PNG spec

(www.programmax.net)
615 points bluedel | 14 comments | | HN request time: 2.091s | source | bottom
Show context
qwertfisch ◴[] No.44376468[source]
Seems a bit too late? And also, JPEG XL supports all the features and uses already advanced compression (finite-state entropy, like ZStandard). It offers lossy and lossless compression, animated pictures, HDR, EXIF etc.

There is just no need for a PNG update, just adopt JPEG XL.

replies(5): >>44376756 #>>44377176 #>>44378892 #>>44379025 #>>44384951 #
illiac786 ◴[] No.44377176[source]
I really don’t get it. Why, but why? It’s already confusing as hell, why create yet another standard (variant) with no unique selling point?
replies(1): >>44378143 #
1. pmarreck ◴[] No.44378143[source]
JPEG XL is not a "variant", it is a completely new algorithm that is also fully backwards-compatible with every single JPEG already out there, of which there are probably billions at this point.

It also has pretty much every feature desired in an image standard. It is future-proofed.

You can losslessly re-compress a JPEG into a JPEG-XL file and gain space.

It is a worthy successor (while also being vastly superior to) JPEG.

replies(3): >>44378163 #>>44378359 #>>44378429 #
2. illiac786 ◴[] No.44378163[source]
I was referring to the new PNG, not to JPEG XL.
replies(1): >>44378454 #
3. BobaFloutist ◴[] No.44378359[source]
Is there any risk that if I open a JPEG-XL in something that knows what a JPEG is but not what a JPEG-XL is and then save it, it'll get lossy compressed? Backwards compatibility is awesome, but I know that if I save/upload/share/copy a PNG, it shouldn't change without explicit edits, right?
replies(1): >>44378533 #
4. dylan604 ◴[] No.44378429[source]
> You can losslessly re-compress a JPEG into a JPEG-XL file and gain space.

Is that gained space enough to account for the fact you now have 2 files? Sure, you can delete the original jpg on the local system, but are you going to purge your entire set of backups?

replies(2): >>44378510 #>>44385844 #
5. sdenton4 ◴[] No.44378454[source]
Looking at TFA, it's placing in the spec a few things that are already widely stacked onto the format (such as animation). This is a very sensible update, and backwards compatible with existing PNG.
replies(1): >>44378545 #
6. illiac786 ◴[] No.44378510[source]
if you do not want to delete the original jpeg, there is no point in converting them to jpeg xl I would say.

Unless serving jxl and saving bandwidth, while increasing your total storage, is worth it to you.

7. illiac786 ◴[] No.44378533[source]
a sw that does not know what jpeg xl is, will not be able to open jxl files. How would it?

Not sure what the previous poster meant with “backward compatible” here. jxl is a different format. It can include every information a jpeg includes, which then maybe qualifies as “backward compatible” but it still is a different format.

replies(2): >>44379111 #>>44379945 #
8. illiac786 ◴[] No.44378545{3}[source]
Not sure expanding PNG capabilities is sensible, looking at the overall landscape of image formats.
replies(1): >>44381140 #
9. liuliu ◴[] No.44379111{3}[source]
JPEG XL has the mode that in layman's word, allow bit-by-bit round-trip with JPEG.

Original JPEG -> JPEG XL -> Recreated JPEG.

Sha256(Original JPEG) == Sha256(Recreated JPEG).

That's what people meant by "backward compatible".

replies(1): >>44379451 #
10. colejohnson66 ◴[] No.44379451{4}[source]
That’s not “backwards compatible”, but “round tripable” or “lossless reencode”
11. BobaFloutist ◴[] No.44379945{3}[source]
Ah, got it. I assumed it was a losselessly compressed JPEG with metadata telling modern software not to compress differently but that older software would open as a normal JPEG, but I guess they meant something else with "backward compatible".
12. dveditz_ ◴[] No.44381140{4}[source]
The capabilities are already expanded in most common implementations. This update is largely blessing those features as officially "standard".
13. account42 ◴[] No.44385844[source]
Yes the whole point of lossless re-compression is that you do not need to keep the original JPEGs. Of course you don't need to "purge" backups, just let them rotate out normally.

Also backup storage is usually cheaper than something that needs to have fast access speeds.

replies(1): >>44388781 #
14. dylan604 ◴[] No.44388781{3}[source]
For people that shoot digital cameras saving as JPEG, it will a very cocky suggestion to tell them to toss out their camera original files!

You'll know JPEG-XL if real when camera manufactures allow for XL acquisition instead of legacy JPEG only.