How to display many thumbnails #4031
Unanswered
ponchofiesta
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm developing a desktop app which will display many thumbnails of images in one screen.
At first I tried just putting the paths into
egui::Image
object. For 21 original images from a camera the memory consumption went up to 2,5 GB and it took very long to load.Now I tried to load the images by custom code using
image
crate, generate the thumbnail and put the resultingImageBuffer
into aVec
(caching).But how can I draw these cached thumbnails using egui?
Or is there an even better way to draw those thumbnails?
Draw the thumbnails: (this doesn't work)
Beta Was this translation helpful? Give feedback.
All reactions