google/visualblocks

How to convert image to base64

hellof20 opened this issue · 2 comments

Hi, I want to send images to other API services for processing, such as the image service of Vertex AI, to get the description of the image. Since the API service can only accept strings in base64 format, but I don't know how to convert images to bas64 in Virtual blocks, need your help.

Thanks hellof20 for the request - we have it implemented already and it's just not published yet. I think there should be no blocker to have that: @jinjingforever to update :)

gbaned commented

Hi @hellof20 The node image to base64 has been published and it is available in visual blocks nodes library. Please find the below screenshot for reference. Can you please check? Thank you!

image