converts to minimagick