The React Image to PDF Converter is a user-friendly web application that enables users to convert images into a PDF document seamlessly. Built using React.js, this tool simplifies image-to-PDF conversion with an intuitive interface and fast performance.
- 🖼️ Drag and Drop Upload: Easily upload images via drag-and-drop functionality.
- 📚 Multiple Image Support: Convert multiple images into a single PDF file.
- 🔄 Reordering: Rearrange uploaded images before generating the PDF.
- 👀 Preview: Visualize the images before conversion.
- 📱 Responsive Design: Works on desktops, tablets, and mobile devices.
- Frontend: ⚛️ React.js
- Styling: 🎨 CSS/Bootstrap for responsive and aesthetic design
- PDF Generation: 📜 Libraries like
jspdf
orpdf-lib
for creating PDF files.
Ensure you have the following installed:
-
Clone the Repository
git clone https://github.com/Ruban2205/react-img-pdf-converter.git cd react-img-pdf-converter
-
Install Dependencies
npm install
-
Start the Application
npm start
-
Access the Application
- Open your browser and navigate to
http://localhost:3000
.
- Open your browser and navigate to
react-img-pdf-converter
├── src
│ ├── components # React components for UI and functionality
│ ├── App.js # Main React component
│ ├── index.js # Entry point for React
│ └── assets # Static files like images or styles
├── public
│ ├── index.html # HTML template
├── package.json # Dependency manager file
└── README.md # Project documentation
- 🖼️ Upload images using the drag-and-drop feature or by selecting files from your device.
- 🔄 Arrange the images in the desired order.
- 👀 Preview the images.
- 📄 Click the Convert to PDF button to generate the PDF.
- 💾 Download the generated PDF file.
- 📏 Add support for different page sizes and orientations.
- 🖋️ Include options for watermarking or annotating images before conversion.
- 📐 Allow users to set custom margins and layout.
Contributions are welcome! Here’s how you can contribute:
- 🍴 Fork the repository.
- 🌿 Create a new branch (
git checkout -b feature-name
). - 🛠️ Make your changes and commit them (
git commit -m 'Add new feature'
). - 🚀 Push to your branch (
git push origin feature-name
). - 📨 Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Ruban Gino Singh
💖 Thank you for exploring this project! Feel free to raise issues or suggest features.