Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdateBanner: gifs don't work #435
Comments
This comment has been minimized.
This comment has been minimized.
|
I don't think that GIFs are supported on that endpoint, but the web client may be taking your GIF and converting it to JPEG/PNG. I'd try asking at https://twittercommunity.com, since that will probably be a better resource than trying to figure out what the remote server is doing. |
jeremylow
closed this
Mar 13, 2017
This comment has been minimized.
This comment has been minimized.
Datamine
commented
Mar 14, 2017
|
@jeremylow good call. I've opened a thread there: https://twittercommunity.com/t/update-profile-banner-doesnt-work-with-gifs/83288 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Datamine commentedFeb 9, 2017
•
edited
I just ran into an issue with
Api.UpdateBanner: I noticed that I could use the function to upload.jpgfiles seamlessly, but when I tried to upload.gifimages, I got the following error:twitter.error.TwitterError: {'message': 'Image data could not be processed'}I'm wondering why this is the case. I tried it for two separate
.gifs. On twitter, I can upload those files manually without a problem. I looked intob64encode, and also couldn't detect any issues there.Here is a gif for reference: sample
Update: converting any problematic gif to
.jpgusing ImageMagic allows you to upload the converted jpg.