typescript-client icon indicating copy to clipboard operation
typescript-client copied to clipboard

Enable client to slice base64 string

Open malgamves opened this issue 10 months ago • 0 comments

When you convert data to base64, you get a string with this format data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAABQAAA... however, inouting this directly throws and error. Everything works fine if we omit data:image/jpeg;base64,.

Can we make the client parse the string and remove that substring?

malgamves avatar Jan 10 '25 15:01 malgamves