๐ PDF Handling Using Python
- This is a simple yet powerful PDF Handling Tool built using Python. The project allows you to perform essential PDF operations such as creating PDFs from images, merging multiple PDFs, setting password protection, and removing password protection. It is a beginner-friendly project designed for practicing Python file handling and working with external libraries.
๐ Features
- ๐ Create PDF: Convert multiple images into a single PDF.
- ๐ Merge PDFs: Combine multiple PDF files into one.
- ๐ Encrypt PDF: Set password protection to secure your PDF.
- ๐ Decrypt PDF: Remove password protection from encrypted PDFs.
โ๏ธ Technologies Used
- Python
- Libraries:
- img2pdf (pip install img2pdf)
- pypdf (pip install pypdf)
Files presnt in code
- s1.jpg, s2.jpg, s3.jpg are sample images used to create pdf, merged-pdf.pdf is that which is created from s1,s2,s3 images, encrypted merged-pdf.pdf is the password protected "hellogithub", merged-multiple.pdf is make from merged.pdf & sample pdf.
๐ Notes
- Input file names with proper extensions (e.g., image1.jpg, file.pdf).
- Encrypted files require the correct password to be decrypted.
- File operations depend on the files being in the same directory as the script.
๐ Disclaimer : This project is unlicensed and made purely for educational purposes. You are free to explore, learn, and modify, but commercial use or redistribution is not intended.