simplified the initialisation of ImageMagick