1

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.

Sujatha Girijala
  • 1,141
  • 8
  • 20
Pramod
  • 424
  • 2
  • 7
  • 28

2 Answers2

1

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

Akj
  • 7,038
  • 3
  • 28
  • 40
-1

you can use sharp

It is High-performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, and TIFF images.

npm install sharp
const sharp = require('sharp')

link to Github page

Shan
  • 180
  • 1
  • 2
  • 13