Added option to specify the colorspace used with image magic