Convert multiburst photos to animated gifs using imagemagick and python