Thomas
Thomas

Reputation: 10669

Cropping and resizing images on the fly with node.js

I run a node.js server on Amazon EC2. I am getting a huge csv file with data containing links to product images on a remote host. I want to crop and store the images in different sizes on Amazon S3.

How could this be done, preferably just with streams, without saving anything to disc?

Upvotes: 4

Views: 2727

Answers (1)

Daniel Dickison
Daniel Dickison

Reputation: 21882

I don't think you can get around saving the full-size image to disk temporarily, since resizing/cropping/etc would normally require having the full image file. So, I say ImageMagick.

Upvotes: 1

Related Questions