Comments (4)
Thanks for suggesting this. I was considering this as well. Far too much data as a simple line can result in hundreds or even thousands of points
from signaturepad.
I have been doing some tests. On iOS (iPhone 6s), a straight shot diagonal makes about 20
points, and then is smoothed x40 to about 800 points. Way, way too much! On Android (Nexus 5), the initial points are more detailed at about 30 points, and this is smoothed x20 to about 600 points. Again, way more detail than needed.
On Windows, the ink manager does a bit of work for us and usually results in far fewer points.
from signaturepad.
With commit f507007, the number of points are slightly reduced by avoiding duplicate points.
from signaturepad.
I am closing this issue now as I have made a few tweaks to the smoothing granularity. Previously, the typical smoothing was about 20-40 points were created for each point drawn. This was a bit excessive since it was often the case that the points were pretty close together.
I basically reduced the number by 10x to about 2-4 points per point drawn. The lines appears smooth still, so I think it is OK. If this is still an issue, we can just re-open and increase the smoothing granularity.
from signaturepad.
Related Issues (20)
- Load saved signature HOT 1
- Android: cannot find SignaturePadView during layout inflate
- I am working on xamarin/SignaturePad on windows universal app, Unhandled Exception Generate
- Unhandled Exception in xamarin/SignaturePad on windows universal app HOT 1
- How to display the Signature in an Image View
- Hello @mattleibow How to solved this issue? We faced still crash issue in our Signature pad demo application
- Problem drawing native android curves
- Loading strokes doesn't work on Xamarin.Forms HOT 10
- Unhandled Exception in xamarin/SignaturePad on windows universal app
- Is SignaturePad something that can meet legal requirements of the E-SIGN act?
- When using the current package for iOS Apple Store will refuse because of using UIWebView HOT 2
- Strokes property does not get set until after StrokeCompleted event fires. HOT 2
- IsEnabled does not work as expected in UWP
- In android when trying to open signature pad again, and click on ok it throughs ObjectDisposedException HOT 2
- Signature pad isn't loading saved strokes HOT 1
- Signature Pad Crash: Cannot access a disposed object. Object name: 'Xamarin.Controls.InkPresenter'.
- IsEnabled is not working in UWP
- Strokes能否转化成SVG?或GetImage获取SVG HOT 1
- [Android] SignaturePad saves black signature image when set background to transparent HOT 2
- Pressure Value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from signaturepad.