Skip to content

IHEfty/img2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image to PDF Converter

Preview 00

A lightweight, client-side web application that converts multiple images into a single PDF document with customizable settings.

Features

  • Drag & Drop Interface: Easily add images by dragging and dropping or clicking to browse
  • Image Preview: Visual grid of all selected images before conversion
  • Customizable PDF Settings:
    • Auto-size pages to match each image's dimensions
    • Fixed-size pages using the first image's dimensions
    • Image compression to reduce PDF file size
  • Interactive Preview:
    • Reorder images by dragging
    • Remove individual images
    • Clear all images with one click
  • Progress Tracking: Real-time progress indicator during PDF generation
  • Responsive Design: Works on desktop and mobile devices
  • No Server Required: All processing happens in the browser

How to Use

  1. Add Images:

    • Click the drop zone to browse for images
    • Or drag and drop image files directly onto the drop zone
  2. Configure Settings (optional):

    • Toggle between auto-size or fixed-size pages
    • Enable/disable image compression
  3. Preview & Arrange:

    • View all selected images in the preview grid
    • Drag to reorder images
    • Click the × icon to remove individual images
  4. Convert to PDF:

    • Click the "Convert to PDF" button
    • Wait for processing to complete
    • The PDF will automatically download to your device

Technical Details

  • Frontend: Pure HTML, CSS, and JavaScript
  • Dependencies:
  • Browser Support: Works in all modern browsers (Chrome, Firefox, Safari, Edge)

Installation

No installation required! Simply open the HTML file in any modern web browser.

For local development:

  1. Clone or download this repository
  2. Open index.html in your browser

Or, Simply visit the live demo: 👉 Here

License

MIT License - feel free to use and modify

Support

For support or feature requests, please open an issue.


Note: This is a client-side application. All image processing happens in your browser - no images are uploaded to any server.

About

Image to PDF conversion in browser without sending data to server...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors