Load sprite from data (string or binary) not from path string ? #595
-
Hi! something like this way:
thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
dragoncoder047
Jan 21, 2025
Replies: 1 comment 5 replies
-
if it is a base64-encoded png, you can load from a data URL like |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
lajbel
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
if it is a base64-encoded png, you can load from a data URL like
data:image/png,<base64>
. As long as deno.webview can render a data URL that is probably the simplest solution.