change imagemagic to ghostscript