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

Set Meta Data #202

Closed
fitrinurazizah opened this issue Mar 4, 2024 · 3 comments
Closed

Set Meta Data #202

fitrinurazizah opened this issue Mar 4, 2024 · 3 comments

Comments

@fitrinurazizah
Copy link

Can I create custom metadata in FPDI?

@JanSlabon
Copy link
Member

JanSlabon commented Mar 4, 2024

FPDI let you import pages of existing PDF documents into a reusable structure and works with different PDF generation libraries.
Custom metadata needs to be implemented in the used generation library. What library do you currently use?
And what do you exactly mean by "custom metadata"?

@fitrinurazizah
Copy link
Author

fitrinurazizah commented Mar 5, 2024

I use fpdi to create a signature to generate pdf in laravel.
I want to create a verification page to read the signature data from the uploaded file, such as name, signing date, location, reason etc.
But I also want to add additional information to be able to read from the uploaded file, maybe like an ID or other information.
How to add it?
And how to read signature data?
Because I tried $pdf->getSignatures(), but it didn't work and return error

@JanSlabon
Copy link
Member

You may try the PDF parser of FPDI to gather such information but there's no highlevel logic implemented for what you are asking for.

We have other PDF tools, which allow you to add digital signatures to PDFs and also allows you to read information of exiting signature fields. Anyhow we do not offer a full validation engine, but maybe this fits your needs: https://demos.setasign.com/?p=%2Fdemo%2F5-Signer%2F4-various%2F4-validation-poc

The product page can be found here.

If you have any further question, regarding SetaPDF please write an email to support@setasign.com.

As nothing about your requirements has anything to do with FPDI I'm going to close this issue.

@JanSlabon JanSlabon closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants