Giter Club home page Giter Club logo

pdf-converter-and-merger's Introduction

Image to PDF converter and PDF merger

Simple python script for pdf merging and image to pdf conversion.


Story behind this repo.

This happened when I was in the 6th semester of my Bachelor Degree. I prepared answers to an assignment and saved them in separate pdf files. But my professor asked me to submit them in a single pdf ๐Ÿ˜”. I started working on Word from Microsoft Office. The PDFs were lengthy and I also had to include some pictures. It was a boring task ๐Ÿ˜…. So, I turned to all-knowing Google to see if there was any tool which merged multiple PDFs into one file. I came across PyPDF2 and img2pdf. With a few lines of code, I merged 25 pages and 5 images to a single pdf file within a few seconds. ๐Ÿ˜„


Usage

  1. Clone the repo and run main.py
  2. Follow on screen instructions.

Libraries used

  • PyPDF2 : A Pure-Python library built as a PDF toolkit.
  • img2pdf : Lossless conversion of raster images to PDF.
  • colorama : Makes ANSI escape character sequences (for producing colored terminal text and cursor positioning) work under MS Windows.

Happy Coding. ๐Ÿ‘จโ€๐Ÿ’ป

pdf-converter-and-merger's People

Contributors

the-it-weirdo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.