move to using mini_magick