Stamp shows Draft instead of the image

Product: WebViewer

Product Version:8.7.0

Image stamp appear when i do the add annotation but when i save the document with the stamp or annotation, it appears with the background pink and it says DRAFT, and the image is not appears. Working fine without image stamp.

Similar issue:

Image setting:
userStampsForSelect[stampOptionIndex].isImageStamp) {
const { textContents } = userStampsForSelect[stampOptionIndex];

    this.annotation = new annotations.StampAnnotation();
    this.annotation.PageNumber = pageNumber;
    this.annotation.LockedContents = false;
    this.annotation.NoResize = false;

    const translatedPoints = displayMode.windowToPage(
      windowCoords,
      pageNumber
    );
    this.annotation.X = translatedPoints.x;
    this.annotation.Y = translatedPoints.y;

    var image = await getImageSize(
      process.env.REACT_APP_VIEWER_PATH + textContents
    );

    this.annotation.Width = image.naturalWidth / 2;
    this.annotation.Height = image.naturalHeight / 2;

    const keepAsSVG = false;
    this.annotation.setImageData(
      process.env.REACT_APP_VIEWER_PATH + textContents,
      keepAsSVG
    );
    this.annotation.Author = annotationManager.getCurrentUser();

    annotationManager.addAnnotation(this.annotation, { autoFocus: false });
    annotationManager.redrawAnnotation(this.annotation);
    this.annotation = null;
    
    //reset custom stamp mode
    instance.setToolMode(instance.Core.Tools.ToolNames.EDIT);
  }

Saving:
saveBtn.onclick = () => {
const documentName = document_NAME + “.” + document_EXTENSION;
annotationManager.exportAnnotations().then((xfdfString) => {
const options = { xfdfString, flatten: false };
documentViewer
.getDocument()
.getFileData(xfdfString)
.then((data) => {
const arr = new Uint8Array(data);
const docBlob = new Blob([arr], { type: “application/pdf” });

            parent.removeChild(menu);
            isMenuOpen = false;

            saveDocument(
              document_GUID,
              login_GUID,
              documentName,
              docBlob
            ).then((infoMessage) => {
              user_info_Message = infoMessage;
              OpenInfoWindow();
            });
          });
      });
    };

Hi Sandeep,

Can you please attach one of the images that have the issue so we can investigate further?

Best Regards,
Ahmad Moaaz
Software Developer
Apryse

After use image in base64 string working fine.
Thanks