A scala program that will take all the frames of a gif and flatten them into one image