[request] pass in sharp objects
Opened this issue · 0 comments
braco commented
This would be helpful:
const sharp = require('sharp');
const joinImages = require('join-images');
return joinImages(sources.map((source) => sharp(source).trim())).then((img) => {
img.toFile(outPath);
});