removed imagemagick dependency