Hi all, Is anyone aware of an image manipulation library that works via streams? Specifically, I want to be able to overlay one image (the watermark) on top of another (the base image) at a specific position. I'd rather not load the entire base image into memory ( the watermark image is pretty small so, if necessary, I can read it entirely into memory), and definitely don't want to touch the disk. The image manipulation libraries I've seen either don't support streaming or, at best, want to read the entire read stream into memory before they do anything.
Ideally, I'd like to be able to - fs.createReadStream( "myimage.png") .pipe( watermarkingUtility( "mywatermark.png" ) ) .pipe( fs.createWriteStream( "finalWatermarkedImage"); I started trying to implement something myself, but threw my hands up in frustration after a few hours of trying to understand image specs. John -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
