Added animated GIFs support - #1620.