Main Page
 The gatekeeper of reality is
 quantified imagination.

Stay notified when site changes by adding your email address:

Your Email:

Bookmark and Share
Email Notification
Project Node.js Lambda & Image Resizing
Purpose
The purpose of this project is to show a way to get an image from an http/s location, save it to S3, resize it and place the resized image to a different S3 location. Three different real-world examples (complete code segments) are presented below with the simplest first.


(Enlarge)
  1. This example shows how to get an image from an http location and save it to a folder in S3.
  2. Download here.

(Enlarge)
  1. This example also gets an image from an http location and saves it to a folder in S3. The difference here is that a callback function is used (this becomes a required step in the next example).
  2. Download here.
 
  1. This example also gets an image from an http/s location and saves it to a folder in S3. However, this example (using a generic AWS documented example), resizes the image into a few different sizes and saves the resized images to a different S3 location.
  2. Download here.


About Joe