Skip to content

VishalS-HK/IMGs-and-PDFs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Img to PDF Converter

i2p

This is a simple Python program that can convert a collection of image files into a single PDF file.

Requirements

  • Python
  • img2pdf library

Installation

  • Install the img2pdf library using pip. Open a terminal or command prompt and enter the following command:
  • pip install img2pdf

    Usage

    1. Put all the image files you want to convert into a single folder.
    2. Open a terminal or command prompt and navigate to the folder where the Python script is saved.
    3. Run the following command to convert the image files to a PDF:
    python img2pdf.py

    The PDF file will be saved as Output.pdf in the same folder as the script.

    Note

    • The allowed file types for image files are .jpg, .jpeg, .png, and .gif.
    • The image file names should be in alphabetical order or numerically ascending order to ensure that they are arranged in the correct order in the output PDF.

    About

    This is a simple Python program that can convert a collection of image files into a single PDF file.

    Topics

    Resources

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages