I am using following for capturing signature on my application
https://github.com/Cheesebaron/MonoDroid.CaptureSignature
Its working fine if i save image as png but i want to save it in jpg
I changed Bitmap.CompressFormat.Png to Bitmap.CompressFormat.Jpg
but what i am getting is a black jpg file because the writing is in black
and the background is already black. How can i make image background white?
code i changed
using (var fs = new FileStream(extFileName, FileMode.OpenOrCreate))
{
_capture.CanvasBitmap().Compress(Bitmap.CompressFormat.Jpg, 100, fs);
}
Looking for help. Thanks