Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

base64 to image nodejs

const fs = require('fs')

// base64 data to buffer
var buffer = Buffer.from('your-base64-data','base64')
// buffer to image
fs.writeFileSync('file-name.jpg',buffer)



Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #image #nodejs
ADD COMMENT
Topic
Name
2+6 =