Make GIF Snapshot for Android APP
13 Feb 2016
Recently, a lot of friends asked me how to make the GIF snapshots for an anroid APP, like the pictures here: https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh
Here I will give out 2 methods:
Licecap can capture the screen easily, it is also very easy to use.
adb shell+ ezgif.com
If your app can not run in Genymotion, you can choose this sloution.
We can use
adb shellto record the snapshots in
mp4format on the device which API level is greater than 19, then convert it into
Reocord screen and pull the movie
adb shell screenrecord --bit-rate 8000000 /sdcard/tmp-movie.mp4 adb pull /sdcard/tmp-movie.mp4 ~/tmp/
Click Here to read more about
Convert to GIF
Once we have the movie, wo can use ezgif.com to convert it into GIF
ezgif.com has a lot of awesome features, it can convert movies into GIF and also can edit and optmize the image.
By the way, I really like ezgif.com and I've made a donate for it, hope you will like this website.
RoboGif is a project on GitHub which can do these things for you.
adb shellto record the screen then use
ffmpegto convert this image automatically.
Thanks for mentioning that @kyze8439690 :)
But if you want to edit your GIF: remove some frames, optmize it's size, ezgif.com still you
Follow Me on GitHub