- adjusted for ImageMagick 6.8