replace mini magick with rmagick to try to solve FloatDomainError errors