Most active commenters
  • jdiff(6)
  • account42(4)
  • hsbauauvhabzb(3)
  • allendoerfer(3)
  • wltr(3)
  • bastawhiz(3)
  • echelon(3)

←back to thread

A new PNG spec

(www.programmax.net)
614 points bluedel | 69 comments | | HN request time: 1.075s | source | bottom
Show context
poisonborz ◴[] No.44375523[source]
Not backwards compatible. We just add it to that nice cupboard "great advanced image formats we will forget about".

Society doesn't need a new image format. I'd wager to say not any new multimedia format. Big corporate entites do, and have churning them out at a steady pace.

Look at poor webp - a format pushed by the largest industry players - and the abysmal everyday use it gets, and the hate it generates.

replies(10): >>44375537 #>>44375557 #>>44375998 #>>44376442 #>>44376512 #>>44376957 #>>44376999 #>>44377083 #>>44377151 #>>44380128 #
1. michaelmior ◴[] No.44375537[source]
> and the abysmal everyday use it gets

Estimates are that 95% of Internet users have a browser that supports WebP and that ~25% of the top million websites serve WebP images. I wouldn't call that abysmal.

replies(5): >>44375570 #>>44375590 #>>44375752 #>>44376063 #>>44376879 #
2. hsbauauvhabzb ◴[] No.44375570[source]
My file manager can’t handle them but my browser can.

Edit: and good luck uploading the format to the majority of webforms that aren’t faang.

replies(3): >>44376185 #>>44376400 #>>44386104 #
3. dotancohen ◴[] No.44375590[source]
5% of people can't view them, yet 25% of top websites use them?

In what other industry would it be considered acceptable to exclude 5% of visitors/users/clients?

replies(6): >>44375629 #>>44375653 #>>44375669 #>>44375691 #>>44375850 #>>44376255 #
4. sjsdaiuasgdia ◴[] No.44375629[source]
Not all businesses are attempting to reach a market of "every internet user globally".
5. bawolff ◴[] No.44375653[source]
Can the 5% view images at all? The number of web crawlers have exploded recently.
replies(1): >>44376219 #
6. 0points ◴[] No.44375669[source]
> 5% of people can't view them, yet 25% of top websites use them?

That's not how it works.

The server declares what versions of media it has, and the client requests a supported media format. The same trick have been used for audio and video for ages too.

Example:

    <picture>
        <source srcset="a.webp" type="image/webp">
        <img src="fallback.jpg">
    </picture>
replies(1): >>44375890 #
7. mlok ◴[] No.44375691[source]
Maybe they offer alternatives to webp for those 5% ?

See CSS image-set : https://developer.mozilla.org/en-US/docs/Web/CSS/image/image...

8. Geezus_42 ◴[] No.44375752[source]
Great, so I can download it, but then I have to convert it to a different format before half my apps will be able to use it.
replies(5): >>44376017 #>>44376715 #>>44376771 #>>44377354 #>>44378114 #
9. pchangr ◴[] No.44375850[source]
I can tell you, I have personally worked with a global corporation and we estimated that for one of their websites, supporting the 3% that we exclude by using “modern standards” would be more costly than the amount of revenue they get from them. So in that case, it was a rational decision. And up to the 10% cut, management just didn’t want to do the extra investment. So if something falls below that 10% threshold, they just don’t care to get it fixed.
replies(4): >>44376713 #>>44379367 #>>44383905 #>>44386112 #
10. vbezhenar ◴[] No.44375890{3}[source]
This problem was solved by HTTP since forever. Client sends `Accept` header with supported formats and server selects the necessary content with corresponding `Content-Type` header. You don't need any HTML tags for it.
replies(2): >>44375941 #>>44376751 #
11. allendoerfer ◴[] No.44375941{4}[source]
What about file extensions?
replies(2): >>44376157 #>>44376171 #
12. wltr ◴[] No.44376017[source]
Maybe the issue is with your operating system then?
replies(2): >>44376098 #>>44376559 #
13. AlienRobot ◴[] No.44376063[source]
You can't even upload webp to instagram.
replies(1): >>44376087 #
14. bastawhiz ◴[] No.44376087[source]
Which makes sense for an app made for photos: why would you capture a photograph to disk in a format made for distributing on the web?
replies(2): >>44376106 #>>44376630 #
15. jdiff ◴[] No.44376098{3}[source]
App support has very little to do with the operating system. OSes by and large will preview it just fine.
replies(2): >>44376294 #>>44376683 #
16. jdiff ◴[] No.44376106{3}[source]
Indeed, why might one upload a photo to the web in a format made for distributing images on the web?
replies(1): >>44377772 #
17. jdiff ◴[] No.44376157{5}[source]
Sometimes respected, largely ignored. URLs very often don't map directly to files served.
replies(1): >>44385097 #
18. georgyo ◴[] No.44376171{5}[source]
File extensions are just a hint about what the file might be and have nothing to do with what the file actually is. If the server sets the MIME type, the browser will use that as the hint.

But even beyond that, most file formats have a bit of a header at the start of the file that declares the actual format of the file. Browsers already can understand that and use the correct render for a file without an extension.

replies(1): >>44385099 #
19. debugnik ◴[] No.44376185[source]
Not even Google supports webp uploads in many of their web apps, and it's their format.
replies(1): >>44376548 #
20. jdiff ◴[] No.44376219{3}[source]
Yes, but it's 2% that are still using browsers without full support for WebP according to caniuse, which takes its numbers from StatCounter.

https://caniuse.com/webp

Note that I'm looking at "all tracked," which excludes 2% "other" browsers in the data whose featureset is not known.

21. pasc1878 ◴[] No.44376255[source]
Any industry.

e.g. cars - not everyone is physically able to drive books - blind people can't read music - deaf people can't hear

It is a form of 80/20 or 90/10 rule the last small percentage costs as much as the majority.

replies(1): >>44377586 #
22. dinkblam ◴[] No.44376294{4}[source]
on the contrary. on macOS apps don't have to support image (or movie) formats. it is done by the system and transparently handled by the APIs. apps automatically gain new formats when the system adds it.
replies(1): >>44376343 #
23. reaperducer ◴[] No.44376343{5}[source]
The unfortunate side effect of this convenience is that apps automatically lose image support when macOS chases to no longer support them, too.

One example is Sony's SRF camera raw format.

Programs like Photoshop and Affinity have to bring their own decoders where previously none were required.

replies(1): >>44376470 #
24. upcoming-sesame ◴[] No.44376400[source]
If you are using an image optimization service like Imgix / Cloudflare Image Resizing then it doesn't really matter, image can be uploaded as any supported format and will be sent to the end user according to their "Accept" header
replies(1): >>44377431 #
25. dspillett ◴[] No.44376470{6}[source]
And having to bring in support for formats that are deprecated by the OS, if they decide to keep supporting that format as there is sufficient demand from their users, is worse than having to bring in support for all formats rather than getting support from the OS?

Having ask that in a slightly confrontational way, one of the reasons I started using VLC all those years ago, and still use it to this day, was having trouble with other media players that relied on OS support fail to work well (or at all) with some codecs, while VLC brought support for them, and their dog, built-in and reliable. Dragging your own format support libraries with you can be beneficial.

26. chillingeffect ◴[] No.44376548{3}[source]
Could it be a lack of resources? Or some missing expertise? Maybe they could find some interns who are familiar with it? Maybe the entire world is so obsessed w AI, we don't even care about image formats anymore.
replies(1): >>44376861 #
27. echelon ◴[] No.44376559{3}[source]
You can't use webp on Reddit, Instagram, and hundreds of other websites. Which is ironic because some of them serve images as webp.
replies(3): >>44376703 #>>44376783 #>>44376869 #
28. Sharlin ◴[] No.44376630{3}[source]
Instagram hasn't even been primarily or even secondarily about photos for a long time. Indeed trying to "just" upload a photo is made super inconvenient these days.
replies(2): >>44377673 #>>44384257 #
29. wltr ◴[] No.44376683{4}[source]
I meant Windows, as macOS and Linux are usually good with modern things. It’s trivial to add the support if you don’t have it. I have no idea about Windows, but I got this vibe of someone using Win7 in 2025 and complaining the world moved on and keeps moving on.
30. wltr ◴[] No.44376703{4}[source]
That doesn’t mean it’s dead, it rather shows sheer incompetence of the web dev departments of these wonderful companies for whom webp or avif aren’t images, I guess.
replies(1): >>44376780 #
31. Aachen ◴[] No.44376713{3}[source]
> it was a rational decision. And up to the 10% cut, management just didn’t want to do the extra investment

Rational, or economical? I find it rational to help someone in need since I'd want others to do the same to me, even if it's not financially profitable for me. Imo more factors flow into what's rational, but I understand what you mean by corporate greed working this way (less than 10% of people are blind, neither male nor female, run a free operating system or can't afford a new computer, etc., so yep they're not profitable groups and for-profits don't optimise for that)

replies(1): >>44376968 #
32. BeFlatXIII ◴[] No.44376715[source]
Or convert before you upload because the image host has delusions about fighting the Google monoculture by refusing WebP support. Even more of a head scratcher when WebM is their only video format.
33. NorwegianDude ◴[] No.44376751{4}[source]
No, cause thats just one of the features.

Images are often at different resolutions too, that way, depending on the pixel density of the device, and the physical size, the browser can select the photo that has high enough resolution, but not one that is needlessly large, while also selecting the preferred image format.

34. PaulHoule ◴[] No.44376771[source]
Blame Adobe. For what they charge for Creative Suite it ought to have supported it a long time ago.

My webcrawler sucks down a lot of WebP images, at least it did before it got the smackdown from Cloudflare.

replies(1): >>44376823 #
35. PaulHoule ◴[] No.44376780{5}[source]
Instagram's image uploading interface is klunky compared to Mastodon which is entirely unfunded.
replies(1): >>44376885 #
36. socalgal2 ◴[] No.44376783{4}[source]
Just tested reddit. It works fine with .webp I don't have an instagram account
replies(1): >>44376871 #
37. martin_a ◴[] No.44376823{3}[source]
Adobe Photoshop has support for WebP (through "Save as", not "Export") but I don't think WebP is important.
replies(1): >>44376895 #
38. pixl97 ◴[] No.44376861{4}[source]
Honestly this kind of stuff happens all the time in large companies.

Interns won't want to work on a dead end like this. Moreso they need to be supervised by someone that doesn't want to get removed by being the lowest X% usefulness in a company. So all these existing tools that aren't primary revenue generators just sit on coast mode.

39. ◴[] No.44376869{4}[source]
40. echelon ◴[] No.44376871{5}[source]
Try https://www.reddit.com/settings/profile

There are so many uneven areas of Reddit where WebP doesn't work. Old reddit, profile support, mod tools, etc.

replies(1): >>44377994 #
41. whywhywhywhy ◴[] No.44376879[source]
completely fails the second you want to do anything more than load it on a webpage

Photoshop still won’t open it, MacOS preview opens it but then demands to convert it to tiff when you try to edit it

replies(2): >>44377634 #>>44386094 #
42. echelon ◴[] No.44376885{6}[source]
This shows the unfortunate power of distribution.

It doesn't matter if the alternative is technically superior once the majority use the mainstream thing.

43. whywhywhywhy ◴[] No.44376895{4}[source]
But it can’t open them
replies(3): >>44376925 #>>44377023 #>>44379966 #
44. martin_a ◴[] No.44376925{5}[source]
Not sure if that's version specific, but my one can (version 26.7.0) without any issues or warnings. Tried with this sample file: https://www.gstatic.com/webp/gallery/1.webp
45. majewsky ◴[] No.44376968{4}[source]
You are using the notion of rationality wrong. Rational reasoning can only help you find how to achieve goals that align with your values. It is strictly worthless in choosing your values.

If a corporation has determined that profit maximization is their core tenet, excluding the needs of a minority of users can likely be deduced in a rational manner from that tenet. That is precisely why values need to be forced onto corporate actors through regulation, e.g. in this case through mandatory accessibility guidelines like EU directive 2019/882 that enters into force this very week.

replies(1): >>44386130 #
46. williamscales ◴[] No.44377023{5}[source]
Looks Photoshop has since v23.2 in 2022.
47. lizknope ◴[] No.44377354[source]
I was about to write that Slack doesn't support webp but I just tested it and it does. For years I have been typing "convert file.webp file.jpg" and then posting that in slack but it looks like they have added support.
48. hsbauauvhabzb ◴[] No.44377431{3}[source]
if you’d like to go and implement that in all the millions of existing web apps, go ahead?

Let’s also not forget the dependency mess that leaves in applications before we do though..

49. danillonunes ◴[] No.44377586{3}[source]
I agree with the point you're trying to make, but your examples are terrible. Music industry doesn't have too much to do to help deaf people. It's not like they're deliberately making deaf-inaccessible music instead of relying on the old good deaf-accessible music formats.

(Also, the parent comment's example is also not so good because as someone else pointed just because the top 25% websites are serving webp it does mean they're not serving alternative formats for those who does not support it, as this is quite trivial to setup)

50. asgerhb ◴[] No.44377634[source]
Maybe using VLC Media Player from an early age has left me with too high expectations. But if I have a program designed to view or edit a certain class of file, and it doesn't support a certain file format, I will blame that program.
51. bastawhiz ◴[] No.44377673{4}[source]
Unless you're uploading memes you've downloaded from elsewhere, this strictly isn't true. I'd consider myself an Instagram power user and the only thing that I and all the people I interact with is photos and videos. None of those are webp, or would have been worthwhile to save as webp as an intermediate format.
52. bastawhiz ◴[] No.44377772{4}[source]
I could save my photos as BMPs like early digital cameras did but that doesn't make it practical or reasonable. My camera takes pictures as RAW or HEIF files. Why would I save my photos to a primarily lossy codec that's optimized and designed for distribution rather than preserving fidelity?

We used to do this with JPEG, in fact. And that's why many pictures on Facebook from pre-2018 or so all have a distinctive grainy look. It's artifacts on top of artifacts. Storage on phones isn't tight anymore, we don't need to store photos in a format meant to minimize bytes at the expense of quality.

replies(1): >>44383238 #
53. kccqzy ◴[] No.44377994{6}[source]
I'm convinced that this is because of the prevalent MVP culture in modern software engineering. Instead of holistically looking at a new feature request such as "support webp images" we break it down into parts (e.g. "serve webp" "accept webp upload here" "accept webp upload there") and then we call it a MVP when only the highest priority items are done.
54. jeroenhd ◴[] No.44378114[source]
Everything I've tried supports WebPs. It took Adobe a while but even Photoshop supports the format these days.

Hell, for some software features (like stickers in some chat apps), WebP is mandatory.

HEIFF files, on the other hand...

55. eviks ◴[] No.44379367{3}[source]
Something is off in this calculation, how did they get to such a high cost for such a simple thing as an alternative image format when the web supports multiple???
replies(1): >>44380115 #
56. asadotzler ◴[] No.44379966{5}[source]
My PS can open them. Maybe update?
57. dooglius ◴[] No.44380115{4}[source]
My guess would be that the users hitting different types of issues are mostly the same; someone who can't view an alternative image format is using an obscure old browser or obscure OS that will inevitably have a ton of other issues too, and fixing only a subset of the issues would not make much difference.
58. jdiff ◴[] No.44383238{5}[source]
There's more on Instagram than photos. Lotta meme pages, lot of people just uploading random screenshots and photos they downloaded that have been turned over a million times. Heck, all it takes is someone downloading their own photo from SocialMediaX to reupload on SocialMediaY, or just uploading a the WebP that they exported for their website.
59. dotancohen ◴[] No.44383905{3}[source]
In my experience, accessibility features are needed by about 1.5% of users (E-commerce and some internal business tools). So by your logic, the rational choice is to exclude accessibility?

Or Linux users? Or even Firefox users in our market?

60. sunaookami ◴[] No.44384257{4}[source]
Tangentially related but Instagram is really the worst plattform for photos. I don't understand why they crop and downsize (!) pictures. Not even Twitter does this, it's unironically a better photo plattform.
61. allendoerfer ◴[] No.44385097{6}[source]
Images almost always do.
replies(1): >>44389223 #
62. allendoerfer ◴[] No.44385099{6}[source]
What if the user wants to use the file outside the browser, where they do not have access to the HTTP headers?
replies(1): >>44387289 #
63. account42 ◴[] No.44386094[source]
GIMP and Gwenview have supported webp (the latter via platform image plugins that add support to other applications as well) since before you encountered them online. Maybe choose better tools.
64. account42 ◴[] No.44386104[source]
Demand more from you file manager then.
replies(1): >>44386788 #
65. account42 ◴[] No.44386112{3}[source]
Thanks for demonstrating why laws like ADA are needed to force companies to not be bad citizens. We desperately need similar laws to force compatibility with older hardware - one could even champion it under environmental protection.
66. account42 ◴[] No.44386130{5}[source]
Rational reasoning also takes into account long-term and second and higher order effects which quarterly profit-driven reasoning often ignores. If you support 95% of users and your competitor supports 100% then that may help your competitor getting 100% of them while you get none.
67. hsbauauvhabzb ◴[] No.44386788{3}[source]
Sure, ur then it’s my image viewer, my phones image viewer, the website I try and upload pictures to. This isn’t a problem you can solve by patching one application, and it’s not one the world as a whole cares about.

Better image formats serve entities who store images at scale, not end users.

68. georgyo ◴[] No.44387289{7}[source]
The same is true, if you rename a .png to .jpg and opening it with an image viewer, it will render.
69. jdiff ◴[] No.44389223{7}[source]
I wish, would make my job a good bit easier. Sometimes they don't even respect format query parameters and just use whatever's in your Accept headers.

Will say though that it's not universal, it depends heavily on the corner of the internet you're on.