Re:Show HN: Lite – A small, fast text editor
by rubber_duck on Saturday May 09, 2020 @03:15PM
(#23127539)
Shouldn't PNG be lossless by default ? (you could do some lossy pass to optimise but in that case you're probably better off using JPEG ?)
[ Parent
| on HN ]
Re:Show HN: Lite – A small, fast text editor
by SahAssar on Saturday May 09, 2020 @04:45PM
(#23128172)
Sites like github often "optimize" images to lower bandwidth costs. Basically any platform you share images on that is at scale will probably re-compress images. For PNG they often reencode the image in a lossy way.
Re:Show HN: Lite – A small, fast text editor
by IAmEveryone on Saturday May 09, 2020 @05:57PM
(#23128618)
GitHub doesn’t “optimize” your images, just as it doesn’t format your code. People would storm the barricades if Github changed their files.
Re:Show HN: Lite – A small, fast text editor
by SahAssar on Saturday May 09, 2020 @06:58PM
(#23128931)
They do change files that are embedded in readmes, just like most web platforms do. The original file is unchanged, but the version embedded in the readme preview on github.com is changed.
Re:Show HN: Lite – A small, fast text editor
by angristan on Sunday May 10, 2020 @06:07AM
(#23131507)
They just proxy it on the fly with camo: https://github.com/atmos/camo