New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateBanner: gifs don't work #435

Closed
Datamine opened this Issue Feb 9, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@Datamine

Datamine commented Feb 9, 2017

I just ran into an issue with Api.UpdateBanner: I noticed that I could use the function to upload .jpg files seamlessly, but when I tried to upload .gif images, 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 into b64encode, and also couldn't detect any issues there.


Here is a gif for reference: sample

Update: converting any problematic gif to .jpg using ImageMagic allows you to upload the converted jpg.

@jeremylow

This comment has been minimized.

Collaborator

jeremylow commented Feb 12, 2017

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 jeremylow closed this Mar 13, 2017

@Datamine

This comment has been minimized.

Datamine commented Mar 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment