Javascript – How to convert buffer to an Image to display on the frontend
I have the image saved in the DB as BLOB datatype I'm using nodejs with express and I'm using multer library to upload the images if (req.file) { userProfile.profilePhoto = req.file } await userProfile.save() this is what I'm doing on…