Upcoming Changes to PNG Support at Twitter
twittercommunity.com
twittercommunity.com
Now people are acting as if Tumblr is over and yet again the so called solution is to move your work to Instagram or Twitter.
Why is the “solution” always to move to platforms with little to no respect for your actual work there. I’m tired of stressing over how an image/video looks only to upload it to social media and have it covered in a JPEG Vaseline smear.
This is before I bring up how far these networks also go in trying to keep me from just dragging content out of their site and to my desktop
In reality the first impression is all you ever get on social media.
Publishing their thresholds for the JPG vs PNG size comparison instead of referring to it just an internal metric would clear up some disconnect. Plus, I'd love to improve the static values I chose if there is better data available. I doubt the people working on this project wanted to change any PNG unless it's clear cut but the line has to go somewhere. These will be better handled by JPG.
Numbers about avg file size would be awesome too, how much data will this save in a typical user session?
1 - https://engineeringblog.yelp.com/2017/06/making-photos-small... (Section: Large PNG Detection)
It's 2019. Every other media sharing site on the planet is friendlier to preserving video quality than Twitter is. For a platform which carries so much programming\technical content, having video compression set to 'DESTROY ANY KIND OF PIXEL LEVEL DETAIL' is super painful. I can't be the only user that stopped uploading video content because of the effort involved in hand-crafting Twitter gifs.
Everything that can be achieved with these specially produced gifs could also be achieved by simply upping video quality for small videos. Plus removing the insanity of creating such content. Plus actually saving bandwidth since gifs are super wasteful.
There's a whole category of articles about how to 'trick' Twitter into preserving the quality of your image or video upload. That's insane. Define and publish some compression specs at which you won't destroy the content.
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 1.61 MiB
Duration : 4s 890ms
Overall bit rate : 2 766 Kbps
Encoded date : UTC 2018-06-07 09:34:57
Tagged date : UTC 2018-06-07 09:34:57
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 1 frame
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 4s 890ms
Bit rate : 2 764 Kbps
Width : 720 pixels
Height : 414 pixels
Display aspect ratio : 1.739
Frame rate mode : Variable
Frame rate : 33.538 fps
Original frame rate : 1 000.000 fps
Minimum frame rate : 33.333 fps
Maximum frame rate : 1 000.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.276
Stream size : 1.61 MiB (100%)
Title : Twitter v1.0-757770b7c8e9d79a526cdff77e74666386274fdf
Writing library : x264 core 148
Encoding settings : cabac=0 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=1 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=2:1.00
Encoded date : UTC 2018-06-07 09:34:57
Tagged date : UTC 2018-06-07 09:34:5715mb is the total bucket size you need to fill. How you fill that bucket depends on:
Length
Palette
Dithering settings
The actual amount of pixels changed in the segment of video you're showing
You then embark on a journey to take your original 10 second video segment and produce the ideal 15mb gif by tweaking all of the above.
Or you just upload the whole 10 second video to imgur and get back an 8mb pixel perfect mp4.
https://twitter.com/DeusVerus/status/1004657962663596032
https://twitter.com/spetulla/status/1072604230681329665
https://twitter.com/mbostock/status/1064241248049881088
https://twitter.com/veltman/status/1068226765632327680
All of these posts are hand-crafted gifs designed to work around Twitter's video compression.
So it’s pretty likely that the PNG will be smaller than the converted JPEG in many cases. Screenshots of videos, photos, however will likely be converted.
The PNG-8 variant is 3-4 times smaller than a truecolor PNG, which is why Twitter is allowing it.
Most other quantization implementations unconditionally drop a few least significant bits of colors, giving images a posterized look of a 16-bit console. pngquant tries very hard not to do that, as its goal is to have no visible loss, just smaller files.
That would be a great step forward. Currently, the compressed header images look really bad.
Looks like supporting high quality png can be added to our list of creative things founders do to bootstrap their businesses that don’t scale. But converting millions of existing pieces of content from transparent to white background is surely a loss for the people. Not as bad as when Microsoft rolled back everyone’s onedrive storage though.
Looks like they only do the conversion for newly uploaded images beginning Feburary 11th.
https://en.wikipedia.org/wiki/ART_image_file_format
The more things change!
This is almost definitely good for Twitter's bottom line, but no doubt it is bad for a growing segment of their userbase: artists. People have been flocking to Twitter from sites like deviantArt, Tumblr, etc. to escape drama, harassment, policy changes, etc. for years now. The latest round of them come from Tumblr's explicit content purge.
Now, I actually don't use Twitter. But the news of this change spread so quickly that I already heard about it last night. So to say that this is a problem is an understatement. I'm currently recommending to people to just upload their work elsewhere and make use of Twitter's decent embedding functionality. (Pixiv is a great site to post drawings, for example, and it embeds decently on Twitter.)
(On the other hand, I do like that smaller PNGs win against JPEG - I am fairly sure in the past, transparency was one of the only criteria that kept you as PNG.)
I can't remember pixiv's rules specifically, isn't it based in japan? The black line censorship thing isn't going to fly with anyone who left tumblr because they banned NSFW.
I'm not saying I disagree that Twitter is a terrible site for artists. But, artists want a social platform where they can both post freely and interact with non-artists or people in different forms of art. Pixiv and SoundCloud are both great websites, but it turns out A.) A lot of people dabble in both music production and drawing, and B.) A lot of the same people in both of these art forms interact with eachother. (This is especially apparent looking at indie games and gamejams!)
Fwiw, Twitter has been pretty mixed on NSFW content. They've turned a blind eye to most of it. Especially for Japanese-speaking users, presumably because Japanese advertisers don't have the same mentality as Western ones do. Still, I've heard of a few accounts being banned for vague reasons.
So yeah... Twitter is not great for art. But, artists want a general social platform to hang out in, and for many Twitter is currently serving that purpose for better or worse.
PNG’s do alpha better at least.
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.
Images who already have virility will be the ones in full res.
[1] https://www.theguardian.com/technology/2018/may/31/twitter-b...