Dim Base64 As String : Dim SU As StringUtils
'Resize the image and convert it to Base64.
Base64 = SU.EncodeBase64(ImageToBytes(B4XSignature1.Bitmap.Resize(350, 350, True)))
'Convert Base64 to Image
B4XImageView1.SetBitmap(BytesToImage(SU.DecodeBase64(Base64)))
'See Base64.
Log($"Base64:${CRLF}${Base64}"$)