Skip to content
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

Möglichkeit die Unterschrift als JPEG zu speichern #10

Open
FloMeh opened this issue Oct 6, 2020 · 0 comments · May be fixed by #22
Open

Möglichkeit die Unterschrift als JPEG zu speichern #10

FloMeh opened this issue Oct 6, 2020 · 0 comments · May be fixed by #22

Comments

@FloMeh
Copy link

FloMeh commented Oct 6, 2020

Hello,

is there a way to extend the plugin so that you can save the signature as JPEG?
According to the documentation of signature_pad this should be possible, but I don't know where I can adapt this to make it work with the plugin.

// Returns signature image as data URL (see https://mdn.io/todataurl for the list of possible parameters)
signaturePad.toDataURL(); // save image as PNG
signaturePad.toDataURL("image/jpeg"); // save image as JPEG
signaturePad.toDataURL("image/svg+xml"); // save image as SVG

Many thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant