<p>Hi,</p><p>I'm trying to restore an image onto the signature pad. However

Hi,

I'm trying to restore an image onto the signature pad. However the content does not show.

Code is below


btnStore.addClickListener(e->{

if (signature != null && !signature.isEmpty())

{

img = signature.getImageURI();

byteArr = signature.getImageBase64();

_log.debug("Storing: "+img.length());

}

});

btnRestore.addClickListener(e->{

if (signature != null)

{

if (!isEmptyStr(img))

{

_log.debug("Restoring: "+img.length());

signature.setImage(img);

}

}

});

Any ideas?


Hi Patrick, could you advance with this?