I have an image in the SQLite database as a BLOB type, I want to upload that image into firebase storage, get download URL and dimensions of the image, and add them to Firebase real-time database. I've successfully uploaded an image from the local drive with bucket.upload but I have no idea how can I upload a blob.
I am using admin-sdk on the serverside (NodeJS), there is a "put" function but that's in client-side sdk.
bucket.upload("./file.jpeg", options).then(result => {
const file = result[0];
console.log(file)
}).then(results => {
console.log(results);
}).catch(error => {
console.error(error);
});