Skip to content

shaan24k/Image-Resizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Resizer

This Repository will demo how to re-size the single image into multiple sizes.

Installation

npm install

Run Server

node app.js

Resizer API

Request

BaseUrl = localhost:1000/api/auto_image_resizer
Method : POST Form data

file (type file) = abc.jpg
sizes = 127x128,500x300,1000x900  (resize image into diffrent sizes)

Response
{
    "success": true,
    "message": "Image resize with mode 1 successfully done."
}

This will create folder name uploads and place original image into orginal folder and sub resize folders

Note : Test the api thorugh postman before using in project.

About

resize the single image into multiple sizes on node js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors