please help me for web cam integration in mvc 3.0 in asp.net with code. This is my C# code body.
public ActionResult UploadWebCamPic(string ImageData)
{
byte[] upImg = null;
WebImage wi = new WebImage(Convert.FromBase64String(ImageData));
upImg = wi.GetBytes("png");
//Get a data Context and you now have the image in PNG format
//in the upImg byte[] that you can store in your DB.
return Json("OK");
}
And here is my JavaScript Code.
Javascript Code
namespace webimage not found error is coming
Help would be appreciated. Thanks !!