You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a signature and I need to save it to database. I'm using format data:image/svg+xml;base64 and I save the signature with success!
My goal is, try to load the saved signature to an image control. Something like img.src="data:image/svg+xml;base64,xxxxxxxx......"
I can load the signature to an image, with this format, with success in various platforms.
But when I try the same on Android the signature is not loading in this format.
So my question is: is there a way to convert from data:image/svg+xml;base64 to data:image/png?
Thank you
The text was updated successfully, but these errors were encountered:
Have other data-url-encoded strings worked with Android's image control? Does it accept data-url-encoded PNGs?
Try to unpack the raw svg source from the data-url-encoded string and feed that instead to the image control. Frankly I would be surprised if the image control supports even unpacked, raw SVG.
Quick google search reveals that viewing/rendering SVG-to-bitmap on Android is a bit of a chore:
Hi,
I have this issue with Android:
I have a signature and I need to save it to database. I'm using format data:image/svg+xml;base64 and I save the signature with success!
My goal is, try to load the saved signature to an image control. Something like img.src="data:image/svg+xml;base64,xxxxxxxx......"
I can load the signature to an image, with this format, with success in various platforms.
But when I try the same on Android the signature is not loading in this format.
So my question is: is there a way to convert from data:image/svg+xml;base64 to data:image/png?
Thank you
The text was updated successfully, but these errors were encountered: