Allows users to specify whether they want animated gif support or not. Fixes #165