I am using Signature pad to capture the signature in PCL. The code returns the signature file location with the file name. But the issue is to convert the image into byte array. I have seen multiple references but not working. below is the code sample where i am getting the location of the file with file name.
saveImageBtn.Clicked += (sender, e) =>{
var value = DependencyService.Get<ISign>().Sign();
drawingImage.SavedImagePath = value; // I am getting file location here
Navigation.PushModalAsync(new SignatureImagePage(drawingImage.SavedImagePath));
};
i want to convert the file that i am getting in drawingImage.SavedImagePath
. How can i do this.
Used reference previously :
Error - Bitmap could not found , Not any solution in this link, Not any Solution
Hope someone can provide me solution for this