A lightweight, client-side web app that lets you combine two images either horizontally or vertically without losing quality or aspect ratio.
This project runs entirely in the browser — no uploads, no backend required.
- 📸 Combine two images (horizontal or vertical layout)
- 🧭 Maintains original aspect ratio and quality
- 🎨 Custom background color
- ⚙️ Adjustable output format (
PNGorJPEG) - 🔧 Quality slider to control output size (for JPEG)
- 📏 Shows output image dimensions and file size
- 🔄 Swap or clear selected images easily
- 💾 One-click download of combined image
- 🌈 Responsive and mobile-friendly interface
- HTML5 Canvas API – for image composition
- Font Awesome – for icons
- Vanilla JavaScript – no dependencies
You can use this app locally or host it anywhere (GitHub Pages, Netlify, Vercel, etc).
git clone https://github.com/BR1JM0H4N/image-combine.git
cd image-combinerSimply open index.html in your browser.
- Select Image A and Image B.
- Choose orientation (horizontal or vertical).
- Pick output format and background color.
- Adjust quality (if JPEG) to reduce size.
- Click Combine → Preview shows output size & dimensions.
- Hit Download to save your merged image.
Combine_demo.mp4
This project is released under the MIT License — free to use, modify, and distribute.
@BR1JM0H4N Made with ❤️ using HTML and JavaScript.
💬 “A simple yet powerful browser tool for merging images without compression or data loss.”