title: I am unable to call method Saveaimage if image size above 80kb
body: <p>`[WebMethod]
  public static string Saveaimage(string dataimg)
  {
  dataimg = &quot;data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBABgDH//2Q==&quot;;</p>
  <pre><code>var base64Data = Regex.Match(dataimg, @&quot;data:image/(?&lt;type&gt;.+?),(?&lt;data&gt;.+)&quot;).Groups[&quot;data&quot;].Value;
          byte[] bytes = Convert.FromBase64String(base64Data);
  
          File.WriteAllBytes(Server.MapPath(&quot;/abcd.png&quot;), bytes);
  
          return &quot;OK&quot;;
      }` 
  </code></pre>