thread-pond / signature-pad

A jQuery plugin for assisting in the creation of an HTML5 canvas based signature pad. Records the drawn signature in JSON for later regeneration.
BSD 3-Clause "New" or "Revised" License
731 stars 290 forks source link

Signature Quality #76

Open eccharbonnet opened 11 years ago

eccharbonnet commented 11 years ago

The signature is of course made up of linear segments. Is there a parameter that controls the size of these segments? Can they be made smaller so the signature looks more natural?

thomasjbradley commented 11 years ago

There's the penWidth option which may be what you're looking for.

eccharbonnet commented 11 years ago

So you think that will smooth out the rough edges?

On Fri, Jun 14, 2013 at 6:59 AM, Thomas J Bradley notifications@github.comwrote:

There's the penWidth option which may be what you're looking for.

— Reply to this email directly or view it on GitHubhttps://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-19453084 .

Ed (eCharbonnet) Edward C. Charbonnet "Find the good and praise it." - Alex Haley No trees were killed in the making of this email...however, a large number of electrons were horribly inconvenienced.

eccharbonnet commented 11 years ago

I went into jquery.signaturepad.js and at the bottom of that file I changed the default on penWidth from 2 to 10 and then even larger. I see no change. I did save the JS file and I refreshed the web page and even flushed cache but I see no change. Are you thinking that a thicker pen will smooth out the polygon look? For instance, letters with rounded tops are being squared off. Letters with rounded edges are looking like 4 or 5 or 6 straight lines connected.

Many thanks

thomasjbradley commented 11 years ago

Is what you're describing happening on a specific device or on everything you're testing?

eccharbonnet commented 11 years ago

I'm testing on an asus transformer and Samsung galaxy 2. Both are tablets. The Samsung is running chrome browser, its native browser will not do signatures at all no matter what options are on. On Jun 15, 2013 9:35 AM, "Thomas J Bradley" notifications@github.com wrote:

Is what you're describing happening on a specific device or on everything you're testing?

— Reply to this email directly or view it on GitHubhttps://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-19496550 .

eccharbonnet commented 11 years ago

That Asus is a transformer 101. Can the size of the signature canvas be an issue? It is not huge, but it is larger than your default. On Jun 15, 2013 9:47 AM, "Edward Charbonnet" edc.charbonnet@gmail.com wrote:

I'm testing on an asus transformer and Samsung galaxy 2. Both are tablets. The Samsung is running chrome browser, its native browser will not do signatures at all no matter what options are on. On Jun 15, 2013 9:35 AM, "Thomas J Bradley" notifications@github.com wrote:

Is what you're describing happening on a specific device or on everything you're testing?

— Reply to this email directly or view it on GitHubhttps://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-19496550 .

eccharbonnet commented 11 years ago

thanks for your feedback and interest. I'm traveling this week but how about after that I collect more exact data for you? On Jun 15, 2013 10:29 AM, "Edward Charbonnet" edc.charbonnet@gmail.com wrote:

That Asus is a transformer 101. Can the size of the signature canvas be an issue? It is not huge, but it is larger than your default. On Jun 15, 2013 9:47 AM, "Edward Charbonnet" edc.charbonnet@gmail.com wrote:

I'm testing on an asus transformer and Samsung galaxy 2. Both are tablets. The Samsung is running chrome browser, its native browser will not do signatures at all no matter what options are on. On Jun 15, 2013 9:35 AM, "Thomas J Bradley" notifications@github.com wrote:

Is what you're describing happening on a specific device or on everything you're testing?

— Reply to this email directly or view it on GitHubhttps://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-19496550 .

thomasjbradley commented 11 years ago

My thought is that it is something related to Android. I've heard a couple other people mention that Android is a little laggy when drawing. After researching, it appears that Android doesn't fire the move event very quickly—it's even worse in embedded web views.

eccharbonnet commented 11 years ago

Interesting, I'll do more research and share with you very soon. On Jun 17, 2013 8:35 AM, "Thomas J Bradley" notifications@github.com wrote:

My thought is that it is something related to Android. I've heard a couple other people mention that Android is a little laggy when drawing. After researching, it appears that Android doesn't fire the move event very quickly—it's even worse in embedded web views.

— Reply to this email directly or view it on GitHubhttps://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-19541928 .

eccharbonnet commented 11 years ago

As promised, I have collected information on the following Tablets. I am planning to obtain opinions from other folks as well. I hope you can open this WORD attachment.

I am puzzled why the Samsung should be a problem - I have high regard for the company. I am working to try this on their Galaxy Note Tablet. Please let me know if this data is helpful.

On Fri, Jun 14, 2013 at 6:59 AM, Thomas J Bradley notifications@github.comwrote:

There's the penWidth option which may be what you're looking for.

— Reply to this email directly or view it on GitHubhttps://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-19453084 .

Ed (eCharbonnet) Edward C. Charbonnet "Find the good and praise it." - Alex Haley No trees were killed in the making of this email...however, a large number of electrons were horribly inconvenienced.

thomasjbradley commented 11 years ago

Thanks for spending so much time on this! I don't see your document though; do you want to e-mail it to me directly?

eccharbonnet commented 11 years ago

What email address should i use? On Jul 1, 2013 9:19 AM, "Thomas J Bradley" notifications@github.com wrote:

Thanks for spending so much time on this! I don't see your document though; do you want to e-mail it to me directly?

— Reply to this email directly or view it on GitHubhttps://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-20284601 .

hesne commented 9 years ago

I have the same problem. To sign is very slow on most devices. I already tested galaxy tab 4 10" and Dell Venue 7. It worked well on my iPad Air 2, but just for signature it's to expensive :-)

You have some ideas how to speed up?

Regards H

eccharbonnet commented 9 years ago

Wow. Caught me by surprise here. Have not been contacted on this old issue in some time. We are running very well most of the time on Amazon Kindles.

Samsung Galaxy's worked for a while and then also got slow. We joked that they ran out of ink. The pattern we've noticed is described below and I'd love to better understand it.

Once I downloaded Chrome onto the Samsung instead of using the default browser, I did not have a speed problem anymore. And the default browser worked early on but not after a Samsung update.

So there seems to maybe be a subtle issue on certain browsers. We even noticed that if we refreshed the page then sometimes it would work. It almost seems like a subtle timing problem with maybe when the canvas get initialized compared to some other init process.

Your email is cdn123 and signature is H. Can I know anymore about you?

On Wed, Apr 8, 2015 at 11:29 AM, cdn123 notifications@github.com wrote:

I have the same problem. To sign is very slow on most devices. I already tested galaxy tab 4 10" and Dell Venue 7. It worked well on my iPad Air 2, but just for signature it's to expensive :-)

You have some ideas how to speed up?

Regards H

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-90966992 .

Ed (eCharbonnet) Edward C. Charbonnet

Forgiveness does not change the past, but it does enlarge the future. Paul Boese.

“The difference between genius and stupidity is that genius has limits.” – Albert Einstein.

hesne commented 9 years ago

Thank you for your fast reply. I try to use your signature to sign a service report. Acutal it's a beta project. Yes it feels like, that they have timing problems. The resolution seems to be very ok, but it's too slow. After finishing the signature you have to wait for 1 sec to see the whole signature. You have any idea to fix this? You are using a kindle fire and this worked well? You have experience with windows tablets?

madmanpierre commented 9 years ago

I’ll jump in as a user and past really tiny contributor.

We use signature-pad on Windows Tablets – both RT and Pro, Windows phones, Windows laptops, Android phones and Tablets including Kindle fire – but we always use the Chrome browser, we told our customers years ago we don’t support the ‘default’ browser that Android manufactures install..

We have not seen any slowness like you mention on any of our test devices and have yet to have a customer complain about performance.

We only support:

Though we only occasionally test in Opera and SeaMonkey and had no problems the last time (several months ago.)

But as I said, we explicitly do not support any ‘default’ Android browsers – we had too many other problems unrelated to signature-pad to even attempt to test signatures, so I can’t comment or give any opinions on those.

I do acknowledge that my customers might consider 1 second to redraw to not be a problem so it is possible some of our customers have the slowdown and haven’t reported it to us. Our users are all signing work reports, and sometimes they sign multiple times at different stages – it is a Maintenance Management system. So, while it is possible, it would seem to me if they aren’t seeing instant feedback while they sign, that they would have complained! My signature I draw the outer whole first, then fill in the middle – so I could not possibly draw my signature without seeing what I am drawing instantly.

I hope that helps you narrow down the problem.

peter

From: cdn123 [mailto:notifications@github.com] Sent: Wednesday, April 8, 2015 11:13 AM To: thomasjbradley/signature-pad Subject: Re: [signature-pad] Signature Quality (#76)

Thank you for your fast reply. I try to use your signature to sign a service report. Acutal it's a beta project. Yes it feels like, that they have timing problems. The resolution seems to be very ok, but it's too slow. After finishing the signature you have to wait for 1 sec to see the whole signature. You have any idea to fix this? You are using a kindle fire and this worked well? You have experience with windows tablets?

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-90977755 . https://github.com/notifications/beacon/AC7G08YAR2ZvFDxSsGikYxyBSvWvxOsbks5n9VkggaJpZM4AvFBg.gif

eccharbonnet commented 9 years ago

I totally agree that as long as we stay away from the android default browser we've had no difficulties. We have no experience using this on Windows Tablets.

On Wed, Apr 8, 2015 at 12:57 PM, peter horwood aka Madman Pierre < notifications@github.com> wrote:

I’ll jump in as a user and past really tiny contributor.

We use signature-pad on Windows Tablets – both RT and Pro, Windows phones, Windows laptops, Android phones and Tablets including Kindle fire – but we always use the Chrome browser, we told our customers years ago we don’t support the ‘default’ browser that Android manufactures install..

We have not seen any slowness like you mention on any of our test devices and have yet to have a customer complain about performance.

We only support:

  • IE (current versions), Chrome, FireFox on Windows
  • IE on Windows RT
  • Chrome on Android
  • Safari and Chrome on iStuff. (Note Chrome on iStuff is not ‘real’ Chrome, it’s Safari with ‘chrome’ that makes it called ‘Chrome’)

Though we only occasionally test in Opera and SeaMonkey and had no problems the last time (several months ago.)

But as I said, we explicitly do not support any ‘default’ Android browsers – we had too many other problems unrelated to signature-pad to even attempt to test signatures, so I can’t comment or give any opinions on those.

I do acknowledge that my customers might consider 1 second to redraw to not be a problem so it is possible some of our customers have the slowdown and haven’t reported it to us. Our users are all signing work reports, and sometimes they sign multiple times at different stages – it is a Maintenance Management system. So, while it is possible, it would seem to me if they aren’t seeing instant feedback while they sign, that they would have complained! My signature I draw the outer whole first, then fill in the middle – so I could not possibly draw my signature without seeing what I am drawing instantly.

I hope that helps you narrow down the problem.

peter

From: cdn123 [mailto:notifications@github.com] Sent: Wednesday, April 8, 2015 11:13 AM To: thomasjbradley/signature-pad Subject: Re: [signature-pad] Signature Quality (#76)

Thank you for your fast reply. I try to use your signature to sign a service report. Acutal it's a beta project. Yes it feels like, that they have timing problems. The resolution seems to be very ok, but it's too slow. After finishing the signature you have to wait for 1 sec to see the whole signature. You have any idea to fix this? You are using a kindle fire and this worked well? You have experience with windows tablets?

— Reply to this email directly or view it on GitHub < https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-90977755> . < https://github.com/notifications/beacon/AC7G08YAR2ZvFDxSsGikYxyBSvWvxOsbks5n9VkggaJpZM4AvFBg.gif>

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-90988567 .

Ed (eCharbonnet) Edward C. Charbonnet

Forgiveness does not change the past, but it does enlarge the future. Paul Boese.

“The difference between genius and stupidity is that genius has limits.” – Albert Einstein.

hesne commented 9 years ago

This is really strange. Did you test with android 4.4? I tried to use chrome, dolphin, opera, firefox. No improvements :-( So the default browser of android is the fastest one to use the signature.

Maybe it's about the android version 4.4 kitkat?

eccharbonnet commented 9 years ago

We are at this time entirely focused on the Kindle from Amazon and its version of Android. Not sure what that is. But it works very smoothly.

On Thu, Apr 9, 2015 at 3:13 AM, cdn123 notifications@github.com wrote:

This is really strange. Did you test with android 4.4? I tried to use chrome, dolphin, opera, firefox. No improvements :-(

Maybe it's about the newest android version?

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-91146221 .

Ed (eCharbonnet) Edward C. Charbonnet

Forgiveness does not change the past, but it does enlarge the future. Paul Boese.

“The difference between genius and stupidity is that genius has limits.” – Albert Einstein.

madmanpierre commented 9 years ago

I just tried it on my Android 4.4.4 machine, using chrome 34.0.1847.114. Moto G (fairly slow phone for modern smart phone – I usually buy fairly slow ones for testing) Says total space is 5.5 Gig. Lots of free memory (about 80%).

The signature is instantaneous, following my finger as I sign.

From: Edward C Charbonnet [mailto:notifications@github.com] Sent: Thursday, April 9, 2015 10:05 AM To: thomasjbradley/signature-pad Cc: peter horwood aka Madman Pierre Subject: Re: [signature-pad] Signature Quality (#76)

We are at this time entirely focused on the Kindle from Amazon and its version of Android. Not sure what that is. But it works very smoothly.

On Thu, Apr 9, 2015 at 3:13 AM, cdn123 <notifications@github.com mailto:notifications@github.com > wrote:

This is really strange. Did you test with android 4.4? I tried to use chrome, dolphin, opera, firefox. No improvements :-(

Maybe it's about the newest android version?

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-91146221 .

Ed (eCharbonnet) Edward C. Charbonnet

Forgiveness does not change the past, but it does enlarge the future. Paul Boese.

“The difference between genius and stupidity is that genius has limits.” – Albert Einstein.

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-91275150 . https://github.com/notifications/beacon/AC7G09Hn1ZPemY2YNvI4L3kaLPWJlxMwks5n9pqjgaJpZM4AvFBg.gif

hesne commented 9 years ago

OK. I'm using Dell Venue 7 with Chrome v35. I've made 2 videos. First with my dell, second with my iPad. Can you confirm the slowness on reaction? http://www.yourfilelink.com/get.php?fid=1053788 http://www.yourfilelink.com/get.php?fid=1053789

hesne commented 9 years ago

Can you agree with the speed with your experience?

eccharbonnet commented 9 years ago

I've had no luck trying to see these videos. When I go to the forum and click on your links they just take me to a place that wants me to download a FileLink application.

On Mon, Apr 13, 2015 at 2:51 AM, cdn123 notifications@github.com wrote:

Can you agree with the speed with you experience?

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-92255922 .

Ed (eCharbonnet) Edward C. Charbonnet

Forgiveness does not change the past, but it does enlarge the future. Paul Boese.

“The difference between genius and stupidity is that genius has limits.” – Albert Einstein.

hesne commented 9 years ago

Here we go again with youtube links: https://youtu.be/QyNMwuiDxjE https://youtu.be/yWLHlJX7eos

eccharbonnet commented 9 years ago

Those looked quite good to me. You were writing fast and the line seemed to be keeping up with you.

On Mon, Apr 13, 2015 at 5:45 AM, cdn123 notifications@github.com wrote:

Here we go again with youtube links: https://youtu.be/QyNMwuiDxjE https://youtu.be/yWLHlJX7eos

— Reply to this email directly or view it on GitHub https://github.com/thomasjbradley/signature-pad/issues/76#issuecomment-92304943 .

Ed (eCharbonnet) Edward C. Charbonnet

Forgiveness does not change the past, but it does enlarge the future. Paul Boese.

“The difference between genius and stupidity is that genius has limits.” – Albert Einstein.