The PDF-to-Image-Encryptor is a Python application designed to securely convert PDF pages to encrypted images. It ensures the privacy and security of the information within the PDF documents by encrypting the output images and also provides the functionality to decrypt them back to their original form.
- PDF to Image Conversion: Converts each page of a PDF document into an image.
- Encryption: Utilizes encryption to secure the images derived from PDF pages.
- Decryption: Allows the decryption of the encrypted images to revert them to their original state.
- Batch Processing: Capable of processing multiple pages up to a specified limit.
Before running this script, ensure you have the following installed:
- Python 3.6 or higher
- Cryptography library
- PyMuPDF (fitz)
Follow these steps to set up the project on your local machine:
-
Clone the Repository
git clone https://github.com/yourusername/PDF-to-Image-Encryptor.git
-
Navigate to the Project Directory
cd PDF-to-Image-Encryptor
-
Install Required Libraries
pip install cryptography PyMuPDF
To use the application, follow these instructions:
- Save Your PDF Document
- Ensure your PDF file is saved in the root directory of the project.
- Run the Encryption Script
python main.py
- This will convert and encrypt the PDF pages and save them as .enc files.
- The script is currently set to process up to 10 pages of a PDF document. This can be adjusted in the
mains.py
file.
Contributions to the PDF-to-Image-Encryptor are welcome! Here are a few ways you can help:
- Report bugs
- Add new features
- Improve documentation
This project is licensed under the MIT License - see the LICENSE file for details.