example application for extracting frames from gifs