Skip to content

Is it possible to display image directly from disk using absolute path or something else? #7145

Closed Answered by FabianLars
HuakunShen asked this question in Q&A
Discussion options

You must be logged in to vote

The "tauri way" would be to use the asset protocol via https://tauri.app/v1/api/js/tauri/#convertfilesrc. It doesn't use the same IPC the fs api uses and should be much faster.

Replies: 4 comments 9 replies

Comment options

You must be logged in to vote
6 replies
@Wind-Explorer
Comment options

@feelgeel
Comment options

@Wind-Explorer
Comment options

@feelgeel
Comment options

@Wind-Explorer
Comment options

Answer selected by HuakunShen
Comment options

You must be logged in to vote
3 replies
@FabianLars
Comment options

@Wind-Explorer
Comment options

@AClon314
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants