Re:Upcoming Changes to PNG Support at Twitter
by zyx321 on Thursday December 27, 2018 @09:46AM
(#18769683)
Didn't know PNG supported palette mode. From a pure image quality standpoint, is there any difference between a palette PNG-8 and a still GIF?
[ Parent
| on HN ]
Re:Upcoming Changes to PNG Support at Twitter
by kevin_b_er on Thursday December 27, 2018 @10:49AM
(#18770128)
The PNG supports translucent pixels, not just 100 or 0% transparency.
Re:Upcoming Changes to PNG Support at Twitter
by donatj on Thursday December 27, 2018 @10:55AM
(#18770172)
Yep. Photoshop's PNG library however does not, it's palleted PNG support doesn't handle Alpha for some reason.
Re:Upcoming Changes to PNG Support at Twitter
by tinus_hn on Thursday December 27, 2018 @02:24PM
(#18771805)
Better compression and PNG allows for metadata.
Re:Upcoming Changes to PNG Support at Twitter
by lstodd on Thursday December 27, 2018 @10:05AM
(#18769790)
No difference.
Re:Upcoming Changes to PNG Support at Twitter
by ec109685 on Thursday December 27, 2018 @09:57AM
(#18769741)
PNG is lossless, so the quality will be better.
Re:Upcoming Changes to PNG Support at Twitter
by detaro on Thursday December 27, 2018 @09:58AM
(#18769748)
so is GIF.
Re:Upcoming Changes to PNG Support at Twitter
by ec109685 on Thursday December 27, 2018 @10:02AM
(#18769771)
Oops. The dithering is what makes the gif’s look off, unless the original color is carefully chosen.
PNG’s do alpha better at least.
Re:Upcoming Changes to PNG Support at Twitter
by rubbingalcohol on Thursday December 27, 2018 @10:29AM
(#18769960)
Not 8 bit PNGs. Those are more or less exactly like GIFs, dithering, palette transparency and all.
Re:Upcoming Changes to PNG Support at Twitter
by detaro on Thursday December 27, 2018 @10:39AM
(#18770039)
As far as I know they can have a transparency value for each palette entry, instead of just binary transparency.
https://en.wikipedia.org/wiki/Portable_Network_Graphics#Tran...
> For paletted images, alpha values can be added to palette entries. The number of such values stored may be less than the total number of palette entries, in which case the remaining entries are considered fully opaque.