This is an application that merges a given overlay image with multiple photos. The output are new images created from each photo merged with the overlay image.
You can try the application here.
You can also run the application locally. To do so, follow the instructions below:
To run this program, you need to have Go and Node.js installed in your machine. Then, clone the repository and navigate to its directory:
git clone https://github.com/mbrunos/mergeapic.git
cd mergeapic
# Install the frontend dependencies
cd frontend && npm install && cd ..
# Install the backend dependencies
cd backend && go mod download && cd ..
To start the backend run the following command in your terminal:
cd backend
go run main.go
To start the frontend run the following command in your terminal:
cd frontend
npm run dev
The application is composed of a frontend and a backend. The frontend is a React.js application that allows the user to upload the overlay image and the photos to be merged. The backend is a Go application that receives the files and merges them.
The program uses the imaging
library to resize and crop the photos accordingly to the overlay image size. Then, these images are merged using the image/draw
package.
This project is licensed under the MIT license.