PDF Stamp is a web application that allows users to add stamps or signatures to PDF files directly from their browsers. With this tool, you can upload a PDF, create custom stamps or signatures, and apply them to specific pages within the document. The entire process is handled locally on your device, ensuring privacy and security.
Demo: https://bfritscher.github.io/pdf-stamp
- PDF Loading: Load PDF files either from your local storage or by URL.
- Create Stamps: Create custom stamps via drawing or image upload.
- Stamp Management: Add, remove, and adjust the opacity and position of stamps.
- Page Navigation: Navigate through PDF pages to refine and adjust the placement of stamps.
- Download Stamped PDF: Download the PDF with the added stamps.
- HTML/CSS: For the structure and styling of the web application.
- JavaScript: For interactivity and PDF manipulation.
- Libraries:
- pdfjs-dist for rendering PDF files to image.
- signature_pad for signature creation.
- fabric.js for handling canvas and stamps.
- pdf-lib for PDF manipulation.
Ensure you have a modern web browser that supports HTML5 and JavaScript ES6.
- Load PDF: Select a PDF file from your local system or input a URL to load a remote PDF.
- Add Stamps:
- Click on the
Add
button to add a new stamp. - You can draw your signature on a canvas or upload an image to use as a stamp.
- Click on the
- Manage Stamps:
- Drag and resize the stamp to fit the desired position on the PDF.
- Adjust the opacity using the slider.
- Set the repeat interval for the stamp to appear on multiple pages.
- Navigate Pages: Use the
Prev
andNext
buttons to navigate between pages. - Download PDF: Click the
Download
tab once you're satisfied with your stamps.
Stamps are stored in the browser's localStorage
under the key pdf-stamps-srcStamps
. This allows you to reuse them even after refreshing the page.
- Some PDF files with special formatting may not render stamps correctly.
- Signature pad and image upload functionality might behave differently across browsers.
Feel free to fork this repository and contribute by submitting pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
- Special thanks to the developers of the libraries used:
pdf-lib
,fabric.js
,signature_pad
, andpdfjs-dist
.
For any additional information, concerns or bug reports, please create an issue in the repository.
Thank you for using PDF Stamp! Enjoy seamless stamping and signing of your PDFs!
If you have any questions or need further help, feel free to reach out.
Disclaimer: This README file was mostly generated by an AI.