add imagemagick support back