Skip to content

Can I make an egui::widgets::Image from Vec<u8>? #5417

Answered by lucasmerlin
Crispy13 asked this question in Q&A
Discussion options

You must be logged in to vote

but what value should I give to uri arg?

I believe you can use any you like, it just needs to be unique for your image

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Crispy13
Comment options

Answer selected by Crispy13
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