Topic: How to get the best upload quality from Twitter?

Posted under General

A lot of my posts uploaded from Twitter get deleted because they are inferior, so I'm wondering what I am doing wrong.
I open the image, inspect element, open the image in a new tab, and copy the image address

Updated by Mairo

ajk

Former Staff

yeoldenut said:
A lot of my posts uploaded from Twitter get deleted because they are inferior, so I'm wondering what I am doing wrong.
I open the image, inspect element, open the image in a new tab, and copy the image address

You're uploading the

&name=4096x4096

version of the image which is always inferior to

&name=orig

version
please always use orig file from twitter

Updated by anonymous

yeoldenut said:
I should have specified... the posts from Twitter are getting replaced from the same source on Twitter

Use the orig links as instructed in the page I linked. There is a reason why I linked it.

Updated by anonymous

kahen_kilon_vittu said:
Use the orig links as instructed in the page I linked. There is a reason why I linked it.

Sorry for my misunderstanding, then

Updated by anonymous

also don't forget that if the artist hosts multiple sources twitter JPGs have a high chance of being inferior to an alternate source due to file quality and compression

Updated by anonymous

ajk said:
You're uploading the

&name=4096x4096

version of the image which is always inferior to

&name=orig

version
please always use orig file from twitter

Thank you so much!

Updated by anonymous

yeoldenut said:
I should have specified... the posts from Twitter are getting replaced from the same source on Twitter

Twitter can generate at least 900x900, 4096x4096, thumb, small, medium, large and orig (I think I have seen more formats, but don't remember them all) in at least WebP, JPG and PNG formats. Considering orig is the only format that allows only the stored fileformat to be used, there's already 19 differend files you can get from a single twitter source.

As example, let's take post #1985129:
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=png&name=900x900
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=png&name=4096x4096
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=png&name=thumb
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=png&name=small
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=png&name=medium
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=png&name=large
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=webp&name=900x900
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=webp&name=4096x4096
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=webp&name=thumb
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=webp&name=small
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=webp&name=medium
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=webp&name=large
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=jpg&name=900x900
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=jpg&name=4096x4096
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=jpg&name=thumb
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=jpg&name=small
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=jpg&name=medium
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=jpg&name=large
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=jpg&name=orig
Also notice how these two will not work:
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=png&name=orig
https://pbs.twimg.com/media/EDOhQJWWwAAx-rn?format=webp&name=orig

These also work with old format (e.g. .jpg:large) but some samples are not available (e.g. 900x900) and some formats are not available (webp) and sometimes some samples can accidentally be the same as orig, further complicating things.

These are all from the same twitter source, which is https://twitter.com/Subaru_AOTK/status/1167454045935677446/

What makes this more problematic is that especially the format 4096x4096, yes it does give almost always same dimensions that orig does, however you have the ability to fetch PNG or WebP files which are actually generated (converted) from the JPG and that JPG it's being generated from is the one under orig, because the JPG under 4096x4096 has visual alteration to the image.

TL;DR: just get the orig version and there should be zero issues.

Updated by anonymous

  • 1