Python program to convert animated gifs into bootanimations for Android