Can someone point me to an example that processes an image folder instead of a single image? Thanks.
Hello, perhaps use the glob module to build a list of files.
glob("*.jpg", (err, files) => {
for (const file of files) {
sharp(file)...
}
});
Hope this answered your question.
Most helpful comment
Hello, perhaps use the glob module to build a list of files.