uses safe version of minimagick