Skip to content

Möglichkeit die Unterschrift als JPEG zu speichern #10

@FloMeh

Description

@FloMeh

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions