-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save whole signature field #174
Comments
Try setting the width and height of the canvas when initialising jsignature |
Hello,
it will let my CANVAS where I draw the signature smaller as seen here but i want a margin in the signature(image) and not the canvas |
I think you might need to resize the canvas before you save. You could export the data from jsignature and import into a hidden canvas instance then resize that hidden canvas |
Hello, |
I mean somewhere in the javascript file its defined that the first pixel and the last pixel of the signature drawing should be taken |
Does having a signature line help you tell the user to sign in the middle? Otherwise there's no way other than you resizing the signature just before you export the data |
by the way if I draw points at the corners the image result will look exactly how I want the image to be regarding resizing the signature before the export, how could I do that so it looks like the image above? |
What is your use case and why do you want to save with the padding? |
Hello,
currently the signature pad is saving only the drawn signature, is it possible to get the whole canvas field as a signature?
that's how it is currently:
https://i.imgur.com/5tdOjB3.png
and I want it to look like:
https://i.imgur.com/P7s2aYl.png
How can I achieve this?
thanks
The text was updated successfully, but these errors were encountered: