setSpanValue(image) {
    return image instanceof ArraySpan ? image : new ArraySpan(image);
  }
Sets the span value for the image.
@param {string|object|Image|HTMLImageElement|ArraySpan} image - The image source or object to set as span value.
@returns {ArraySpan} The ArraySpan instance.
@private