Skip to content

Tag: image

SSRS display text when image column is null

I’m trying to build a SSRS report that shows player name and their photos (if there is any). How do I display a text e.g.”No image” if image column return null value (or empty)? I’ve tried to do this in SSRS report itself but no luck : Any help is appreciated. Answer Assuming you get t…

How to convert Buffer to base64 image in Node js

I am getting data from my SQL database like this: How can I convert result to a base64 image in Node.js? For Example: ‘data:image/png;base64,iVBORw0KGgoAAAANS’ Answer Since you’re receiving a Buffer back as output, Buffer.toString(‘base64’) will convert the raw binary data in the buffe…