Reputation: 57
I tried to combine two images into a single image using sharp package in NodeJS but i cant is there any ways to done this with sharp package
Upvotes: 4
Views: 4847
Reputation: 96
You can put an image in front to other with the next code:
sharp(pathToBaseImage)
.composite([{ input: bufferFrontImage }])
.sharpen()
.toBuffer()
Upvotes: 2