How to add signature to PDF?

Hi, I’m using PDF GENERATOR API npm and I want to add a signature. I though on a scenario:

  1. Create a page with signature input component for the user to sign
  2. Call PDFGeneratorAPI with the signature as a png type parameter
  3. The PDFGenerator will implement my parameter inside image component found in the template
    But how can I do step 3??? I couldn’t find a way to pass {parameter} to image in the generator template. Any idea???