The task is to place images and signatures of PDF documents like real images or signatures same as we do on paper.
I am using "react-pdf" to display the pdf in React-Js.
To place the images and signatures I am using library "pdf-lib"
The problem that I am facing is as follows
The main functionality of the app is to allow users to place signatures and stamps images on the pdf document. The user is allowed to upload image of any size to place it on the pdf document due to which it gets pixelated when placed on pdf using pdf-lib. How can I keep the image crisp like it was before placing the image on pdf document.
I have also looked the paid solution like pdftron and pdf js.
Please share your thoughts if you have faced a similar issue, I am open to the paid solution as well.