filterous-2
filterous-2 copied to clipboard
get image base64 from nodejs
How could we get the final base64 or buffer instead save the file?
You should be able to get the base64 with the following example:
const f = await filterous
.importImage(buffer)
.applyInstaFilter(filterName, options)
const base64 = f.canvas.toDataURL()
Use .save(); //without filename
in PR #10