'Set optional title before capturing the image.
B4XSignature1.Title($"Signature: $DateTime{DateTime.Now}"$, xui.Color_Black, 20, True)
'Test resize and base64 the image.
Dim Base64 As String : Dim SU As StringUtils
'Resize the length base64 to save.
'For save in datbase column type text, varchar or blob.
Base64 = SU.EncodeBase64(ImageToBytes(B4XSignature1.Bitmap.Resize(350, 350, True)))
'Convert Base64 to Image
ImageView1.SetImage(BytesToImage(SU.DecodeBase64(Base64)))
'See Size and text the base64.
Log($"Base64 Text: ${Base64}"$)