Resize gifs better

Todo:
 - this can't upscale gifs which I think makes it worthless