I have a gif file and i\'m looking to extract it\'s frames and convert each one to a data uri, but i couldn\'t figure how to encode them in base64. The problem is (i guess) how