An image processing and optimization API allows you to convert the format of any type of image and optimize them for its size and other factors. For example, you can convert an image in JPG into PNG or reduce a bigger image to a smaller one.
Install All Packages
npm installRun build Command
npm run buildStart application
npm run startStart application for the first time
npm run start-first-timeTo run tests, run the following command
npm run lintTo run tests, run the following command
npm run testServer URL
http://localhost:3000
http://localhost:3000/api/resizeimage?filename=fjord.jpg&width=%27500%27&height=%27450%27
Server URL
http://localhost:3000/api/resizeimage?filename=fjord.jpg&width=%27500%27&height=%27450%27
http://localhost:3000/api/resizeimage?filename=icelandwaterfall.jpg&width=%27500%27&height=%27450%27
http://localhost:3000/api/resizeimage?filename=fjord.jpg&width=%27260%27&height=%27450%27
http://localhost:3000/api/resizeimage?filename=fjord.jpg&width=%27400%27&height=%27450%27