cyberfantics / picPDF-Maker

picPDF Maker is a simple web app that converts images into customizable PDF files. With options for page size, orientation, margins, and colors, users can create high-quality PDFs easily. The app also features a dark mode for a better viewing experience.

Home Page:https://cyberfantics-picpdf-maker-app-uwgfag.streamlit.app/

Repository from Github https://github.comcyberfantics/picPDF-MakerRepository from Github https://github.comcyberfantics/picPDF-Maker

picPDF Maker πŸ“„πŸ–ΌοΈ

Welcome to picPDF Maker! This Streamlit-based application allows you to convert images into high-quality PDF files with customizable layout options.

Live Demo 🌐

You can try out the application here: picPDF Maker

Features πŸš€

  • 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 πŸ“₯

Installation πŸ› οΈ

To run this application locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/cyberfantics/picPDF-Maker.git
  2. Navigate to the project directory:
    cd picPDF-Maker
  3. Install the required dependencies:
    pip install -r requirements.txt
  4. Run the Streamlit app:
    streamlit run app.py

Dependencies πŸ“¦

The application uses the following Python libraries:

  • streamlit - For creating the web app interface
  • Pillow - For image processing (resizing, cropping, etc.)
  • fpdf - For creating PDF files

These dependencies are specified in the requirements.txt file.

Usage πŸ“‹

  1. Home 🏠: An introduction to the application, outlining its features and capabilities.
  2. 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.
  3. About Us πŸ‘¨β€πŸ’»: Learn more about the developer and reach out for inquiries or collaborations.

Dark Mode πŸŒ™

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.

Customization Options πŸ“

Page Layout

  • 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.

Troubleshooting πŸ›

If you encounter any issues, make sure that:

  • All dependencies are installed correctly using the requirements.txt file.
  • The image files being uploaded are supported formats (JPEG, JPG, PNG, GIF, TIFF).

Contributing 🀝

Contributions are welcome! Please feel free to submit a pull request or report issues.

Contact πŸ“§

Developer: Syed Mansoor ul Hassan Bukhari
LinkedIn

License πŸ“œ

This project is open-source and available under the MIT License.

About

picPDF Maker is a simple web app that converts images into customizable PDF files. With options for page size, orientation, margins, and colors, users can create high-quality PDFs easily. The app also features a dark mode for a better viewing experience.

https://cyberfantics-picpdf-maker-app-uwgfag.streamlit.app/

License:MIT License


Languages

Language:Python 100.0%