Node.js RESTful web service to resize an image at a specified URL