Welcome to picPDF Maker! This Streamlit-based application allows you to convert images into high-quality PDF files with customizable layout options.
You can try out the application here: picPDF Maker
- Upload multiple images in various formats (JPEG, JPG, PNG, GIF, TIFF) 🖼️
- Customize PDF layout options, including page size, orientation, margins, and background colors 📏🎨
- Dark mode toggle for a better viewing experience in low-light environments 🌙
- Simple user interface with menu options for easy navigation 🏠
- Download the generated PDF with a single click 📥
To run this application locally, follow these steps:
- Clone the repository:
git clone https://github.com/cyberfantics/picPDF-Maker.git
- Navigate to the project directory:
cd picPDF-Maker - Install the required dependencies:
pip install -r requirements.txt
- Run the Streamlit app:
streamlit run app.py
The application uses the following Python libraries:
streamlit- For creating the web app interfacePillow- For image processing (resizing, cropping, etc.)fpdf- For creating PDF files
These dependencies are specified in the requirements.txt file.
- Home 🏠: An introduction to the application, outlining its features and capabilities.
- Convert 📄:
- Upload your images (JPEG, JPG, PNG, GIF, TIFF) in the "Convert" section.
- Adjust layout options like page size, orientation, margins, and colors.
- Click "Convert to PDF 📄" to generate the PDF.
- Download the generated PDF file.
- About Us 👨💻: Learn more about the developer and reach out for inquiries or collaborations.
The app includes a dark mode toggle for a comfortable experience in low-light conditions. When enabled, the app's background and components are styled with dark colors for improved visibility.
- Page Size: Choose between A4 and Letter sizes.
- Orientation: Select either Portrait or Landscape.
- Margins: Adjust the top, bottom, left, and right margins.
- Colors: Set custom colors for margins and background.
If you encounter any issues, make sure that:
- All dependencies are installed correctly using the
requirements.txtfile. - The image files being uploaded are supported formats (JPEG, JPG, PNG, GIF, TIFF).
Contributions are welcome! Please feel free to submit a pull request or report issues.
Developer: Syed Mansoor ul Hassan Bukhari
LinkedIn
This project is open-source and available under the MIT License.