removed dependency to imagemagick