The id of my image inside the webview is pt1:i1. Just change this and you've got yourself an image back in C#
"canvas.width = img.width; canvas.height = img.height;var ctx = canvas.getContext(\"2d\");" +
"ctx.drawImage(img, 0, 0);var dataURL = canvas.toDataURL(\"image/png\"); dataURL.replace(/^data:image\\/(png|jpg);base64,/, \"\");");
byte[] imageBytes = Convert.FromBase64String(base64Captcha.ToString());
MemoryStream ms = new MemoryStream(imageBytes, 0,
imageBytes.Length);
// Convert byte[] to Image
ms.Write(imageBytes, 0, imageBytes.Length);
Image image = Image.FromStream(ms, true);
Hope that's helpful to someone...
jim