Wednesday, November 30, 2022
HomeGolangAdd a picture to an current pdf - Getting Assist

Add a picture to an current pdf – Getting Assist


Hello,

I would like so as to add a picture and two texts into an current pdf file.
Initially, I wish to know whether it is doable with Go.
And it could be nice when you might describe an answer or a method to do it (I understand how to do it for a brand new file).

I did some analysis on the internet however I’m French (no one’s excellent) and it’s not straightforward for me to type via the jungle of outcomes.
I’ve seen options like Pdftron however I can’t use a paid resolution and I favor open supply options.
I proceed my analysis however when you might assist me…

Many thanks.
Jean Pierre.

That is usually doable.

Although as properly you usually don’t wish to edit PDFs. You both generate them from some non-PDF supply otherwise you edit them utilizing a PDF editor. PDF is a nasty to work with container format, and the whole lot with altering it would elevate and fall with how the unique PDF has been created.

Hello,

Thanks for answering.

For the PDF format I cannot derogate.

I clarify my downside.
We’re an academic group who assist younger folks.
We arrange skilled internships.
We ship the internship settlement by electronic mail in PDF format.
The corporate or affiliation sends the return of the signed settlement by electronic mail. We retailer the whole lot in PDF format.
At present, they print the settlement, signal it manually, scan it, and ship the settlement as a PDF or picture.
I wish to simplify the process with a utility that helps them combine the signature with out printing the settlement or having to scan it. Lots of them are very small companies or associations and don’t have a scanner, the return is an image (make with cellphone) of the settlement.

I think about an alternate resolution, however I don’t know if it’s good.
Flip PDF into picture, merge signature and settlement picture. Convert picture to PDF. I don’t understand how do it in the mean time however I’m making analysis.
The settlement is on 2 pages (back and front).

For those who might assist me. To not give me a ready-made resolution (though… ;o)) ), however to provide me tracks to discover.

Many thanks.
Jean-Pierre.

This doesn’t actually use Go, however I believe yow will discover wrappers/libraries written in Go to assist executing the instructions.

Use convert (or any obtainable instrument) to transform the picture within the PDF.
Then use that PDF to overlay the goal PDF doc utilizing pdftk’s multistamp operation.

I did this utilizing PHP just a few years in the past (together with PDFjs and jSignature) make a easy editor for including signature and annotations to a PDF file.

Hold the print-sign-scan workflow, inserting a picture in a file and retaining it there may be thought-about signature forgery in some legislatives, and simply haven’t any authorized which means in others.

This subject was robotically closed 90 days after the final reply. New replies are not allowed.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments