WIP: GIF support

Change-Id: I91a5a5116fa642f0f9bd6376487d4e1532db4f06