Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8027349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T23:47:00+00:00 2026-06-04T23:47:00+00:00

I am testing the Signature Pad plugin by Thomas J Bradley and have it

  • 0

I am testing the Signature Pad plugin by Thomas J Bradley and have it working and am able to convert the JSON signature to PNG using PHP but would like to be able to convert the JSON signature to PNG using C#.

There is a supplimental class for doing this called SignatureToImageDotNet which I have not been able to get to work. I should mention that I am new to ASP.NET / C#. So far I have created a website in Webmatrix and have the signature capture form up and running and can return the outputed JSON to a page but am unable to convert it to a PNG image. I’ve created an ‘App_Code’ folder and put the ‘SignatureToImage.cs’ file in it but I’m not sure how to call it.

I’m sure this would be very trivial for someone with ASP.NET / C# experience and I’m hoping someone has done this before or could do it and let me know exactly how to do it as the documentation is very brief.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T23:47:02+00:00Added an answer on June 4, 2026 at 11:47 pm

    You did the right thing in creating the App_Code folder, usually people miss that part. As far as calling the class, ASP.NET Web Pages works pretty much like PHP. You create a code block at the top of a cshtml page, which executes when the page is loaded:

    http://www.asp.net/web-pages/tutorials/introducing-aspnet-web-pages-2/getting-started

    Depending on what else you’re doing in the request (I would need a little more info / code), my guess is you can just start to use the SignatureToImage class inside of a razor block at the top of the page:

    default.cshtml

    @{
         if (IsPostback) {
             var sigToImg = new SignatureToImage();
             var signatureImage = sigToImg.SigJsonToImage(signatureJson);
             // do something with the image!
         }
     }
    
    <html>
    ....
    

    I know the answer is a little open ended, but please feel free to ask my an questions about how Web Pages or C# works, if you have something more specific.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Two web applications I'm working with are using the ASP.NET membership and each have
I testing the deployment of my project using clickonce. Boy was I in for
For testing purposes I have this shell script #!/bin/bash echo $$ find / >/dev/null
For testing purposes I have and SSL certificate set up on a dev site
For testing I have 1 isolated page - no masters, controls, …. My sessions
I'm going to update an iphone app but I cannot Testing it on the
I have the following method signature: public static void InvokeInFuture(Delegate method, params object[] args)
I'm using a post-build step on my C# assembly to expose a function signature
I have a signature that is used in outlook. The signature has an image
General Description I implemented an OP (OpenID Provider), using DotNetOpenAuth . I am testing

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.