user644745
user644745

Reputation: 5713

node.js: merge 2 images side by side and save it back

My thumbnail images are stored in amazon s3. I want to merge 2 images from them into a separate side by side image and store it back in s3 (in a different bucket). I have hundreds of images there and there is a possibility of adding more images everyday. So I want to do this in a separate process whenever new images are available in the s3 bucket or whenever new values are inserted into database. I know there are imagemagic and node-canvas. What is the best practice here, well, in node.js.

Upvotes: 0

Views: 1486

Answers (1)

Mustafa
Mustafa

Reputation: 10413

node-canvas is ought to be drawing, on the other-hand imagemagick is actually an indpendent and dedicated image operations library like resizing, cropiing, montaging, advanced operations like fourier transform. So it's better to use imagemagick

Upvotes: 1

Related Questions