switched from rmagick to minimagick