node.jsangularimage-processingimage-replacement

Image processing with node


I am using angular 6. I have multiple images displayed from backend in my web application I want to add some effect on images like increase brightness & cropping or tagging & update that images into the backend is it possible in angular 6 & node?

I am able to change the brightness of image But I don't understand how to replace old image with my new image in the backend.


Solution

  • You can use npm package ----> jimp

    The "JavaScript Image Manipulation Program"

    An image processing library for Node written entirely in JavaScript, with zero native dependencies.

    Install ---> npm install --save jimp