Update documentation and add imagemagic to TravisCI build.