4 ms·
I mean, of course it is, it's just saving the PNG; it's not going to decode it and then re-encode it or something!
by Sniffnoy 5y ago
I mean, of course it is, it's just saving the PNG; it's not going to decode it and then re-encode it or something!
- noduerme 5y agoSince the desktop icon is scaled down, it has to be parsed at some point and saved back out at icon size. The fact that it says HELLO WORLD on the icon even if you're saving it from Safari means that whatever code is shrinking it into a little icon is parsing it differently from what's being used to display it at full size.
- astrange 5y agoThat’s not surprising, some image formats come with separate thumbnail images to make them faster to decode.
- noduerme 5y agoAFAIK, PNG format can't contain portable little icons. It wouldn't make sense, either, since it would need lots of different sizes of those for different platforms and devices. Mac OS is what creates the icons for individual files on a Mac desktop. Type something into a text file and save it... the document's icon will actually show a tiny miniature of the text you typed, not just some generic text-document icon. The PNG miniature is generated by the OS, and says HELLO WORLD, even though the same OS parses it as HELLO APPLE when you open it with quicklook or preview.