LibreSign / libresign

✍️ Nextcloud app to sign PDF documents
https://libresign.coop
488 stars 57 forks source link

Enhancement Request: Vector Format Signature in Signed PDF Documents #3175

Open axn-digital opened 5 months ago

axn-digital commented 5 months ago

Currently, signed PDF documents in LibreSign are rendered using raster (bitmap) images for signatures. This leads to lower quality and scalability issues, especially when signatures are resized or zoomed in. A vector-based approach would ensure that signatures maintain high quality and clarity at any scale.

I propose implementing support for vector-based signatures in signed PDF documents within LibreSign. This would involve:

  1. Enhancing the signature capture process to generate vector-based SVG or vector graphics formats directly.
  2. Modifying the PDF generation process to embed vector-based signatures, ensuring clarity and scalability.
  3. Providing an option in the admin settings to enable vector signatures for users who require higher-quality signed documents.
vitormattos commented 5 months ago

LibreSign is based on JSignPdf. Already exists an issue at JSignPdf side with a suggested implementation to support vector format:

We will need to wait the development of JSignPdf to check what we will need to do at LibreSign side after upgrade the version of JSignPdf to the newest version compatible with signature as a vector format. You can enable the notifications at issue 185 of JSignPdf to check the evolution.