Closed jkupferman closed 10 years ago
While I think this will help with overall quality and size, I suspect you'd get much better results by posting an reasonably sized mp4 to twitter (as a video). You'd be able to achieve much higher video quality and stay well below the twitter video size limit.
Thanks for this, really appreciate the contribution here. Let me test this first.
I also tweet the link to the mp4. Twitter doesn't let you upload a mp4 unfortunately. The only solution is to have my own player but they would first need to approve it.
Works great, merging! Thanks again!
Or reverse the Vine/Instagram API? 0:)
The existing code resized gifs down to 320x240 which twitter then scaled back up to 528x396 resulting in grainy gifs. This change r It also tells gifsicle to limit gif colors to 256 which should reduce file size.
NOTE: This code should be tested to ensure that it generates gifs below the 3MB Twitter limit.