same as for Imagick