sauravhathi / imagetopdf

This app converts multiple images into a single pdf. It is built using React, TailwindCSS, and jsPDF.

Home Page:https://sauravhathi.github.io/imagetopdf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImageToPdf

This app converts multiple images into a single pdf. It is built using React, TailwindCSS, and jsPDF.

Demo

image

image

image

Download

image

View Pdf

image

Features

  • Convert multiple images into a single pdf
  • Download the pdf
  • View the pdf

useState

  • image: base64 encoded string of the image
  • download: base64 encoded string of the pdf
  • view: blob url of the pdf
  • isComplete: boolean that is used to trigger the download and view buttons

Methods

  • handleImage: called when the user selects a file
  • handleConvert: called when the user clicks the convert button

Dependencies

  • jspdf
  • reactJs
  • tailwindcss

Installation

Clone the repository and install the dependencies.

git clone https://github.com/sauravhathi/imagetopdf.git
cd imagetopdf
npm install

Usage

npm start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

This app converts multiple images into a single pdf. It is built using React, TailwindCSS, and jsPDF.

https://sauravhathi.github.io/imagetopdf/

License:MIT License


Languages

Language:JavaScript 75.3%Language:HTML 22.6%Language:CSS 2.1%