What exactly does Twitter do with images?
When you upload a new profile picture in the conventional way, edit profile> upload new profile image, that the results are less than perfect. Take a look at this example.
You’ll notice is the loss of colour and pixelated edges, for us this simply isn’t good enough. This degradation is very obvious in a number of environments where the profile picture is shown in the Twitter interface.
You can tackle this head on by uploading your profile picture through Twitter’s API, you’ll bypass the JPG compression and be left with the crisp image you were looking for.
Head to https://apigee.com/embed/console/twitter and select OAuth 1 to authorise your Twitter account.
Select the API method “update_profile_image.json”. (Tip: Save yourself some time and search for the method in the search bar on the left)
Go to the ‘Body’ tab and scroll the top section down until you find the image upload button.
Hit the ‘choose file’ button, select your image and hit send.