This Api allows to resize an image (jpg only) with the required width and height.
npm install
npm run build
npm start
http://localhost:3000/api/imageResizer?filename=<filename>&width=<width>&height=<height>
Example:
http://localhost:3000/api/imageResizer?filename=palmtunnel&width=400&height=200