6

I've got a logo I'm attempting to use as a profile image for a Twitter account and unfortunately each time I upload my PNG file, it's clearly getting converted to JPG which is introducing compression artifacts. I've got it properly sized to 400x400 pixels and have played around with introducing transparent pixels into the image to prevent the conversion. But to no avail.

Anyone have any suggestions regarding approaches you've used to prevent JPG conversion?

4

As others have suggested, first: Add at least one pixel of transparency to the image (use the corners of the image, where it will be cropped to a circle anyway)

Secondly though: Use the mobile interface to upload. Otherwise the desktop interface will convert to jpg when it asks to resize, transparency or not, resized or not. You don't actually need to be on mobile to do this: https://mobile.twitter.com/home will do.

  • Thanks Freddie. I tried that as well already and sadly it does not currently work. – Chris Jun 29 '18 at 23:48
  • 1
    I also find taking the Twitter recommend image size and doubling it, helps keep compression to a minimum. – Invariant Change Aug 28 '18 at 3:58
3

You need to force Twitter to respect your png. And for twitter png means "transparency".

So just add 1 pixel (or line) of 1% transparency and save as truecolor PNG and it should work.

  • I've been saving 400x400 pixel PNG images with a transparent background and they are always converted to JPG after I upload them. Truly stumped at this point. – Chris Jun 21 '18 at 15:39
  • Beginning to think that the upload process from the Twitter web client is the issue. After the prompt to position and resize the image, it may very well be converting the image by default to JPG. – Chris Jun 21 '18 at 16:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.