buaazp: remove imagemagick dependence