Error: Can not process empty Imagick object