This application combines the power of Golang for backend processing and Nuxt.js (Vue.js) for frontend interaction to facilitate various image processing tasks. Whether you need to convert image formats, resize images, or compress them while maintaining quality, this app has got you covered.
GitHub Repo : https://github.com/qsaifudin/golang-vue-image-processing.git
Video Demo : https://youtu.be/WCtu0jOKOy4
- Convert: Convert image files from PNG to JPEG format.
- Resize: Resize images according to specified dimensions (width and height).
- Compress: Compress images to reduce file size while maintaining reasonable quality.
- Ensure you have Golang and Nuxt.js installed on your system.
- Clone the repository to your local machine.
- Navigate to the backend and frontend directories and install dependencies:
- Upload an image file.
- Choose the desired image processing option (convert, resize, or compress).
- View the processed image.
- Download the processed image if required.
-
POST
http:https://localhost:5000/convert/png-to-jpeg
Send a multipart form-data request with the
image
file.
-
POST
http:https://localhost:5000/resize
Send a multipart form-data request with the
image
file,width
, andheight
fields.
-
POST
http:https://localhost:5000/compress
Send a multipart form-data request with the
image
file andquality
field.
-
GET
http:https://localhost:5000/temp_img/processed-image.jpeg
Retrieve the processed image after performing image processing operations.
Detail setup instructions and system requirements are already available in the README.me
file inside the backend and frontend folders.
- Saifudin
- Email: [email protected]
- LinkedIn: https://www.linkedin.com/in/qsaifudin/
- Personal Web: https://qsaifudin.site/