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
Use another module instead of sharp
to append images to one another
You can put an image in front to other with the next code:
sharp(pathToBaseImage)
.composite([{ input: bufferFrontImage }])
.sharpen()
.toBuffer()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With