Encodes and decodes files as non-animated gifs