Skip to content

Load sprite from data (string or binary) not from path string ? #595

Answered by dragoncoder047
tvortsa asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tvortsa
Comment options

@tvortsa
Comment options

@dragoncoder047
Comment options

@tvortsa
Comment options

@tvortsa
Comment options

Answer selected by lajbel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants