Display & Scale Images in egui — Rust GUI #17

11views
00
10:22
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Build an image gallery app with thumbnails and zoom in egui. Learn include_image!, Image::new(), clickable images, and fit_to_exact_size for scaling. Student code: https://github.com/GoCelesteAI/egui_images What You'll Learn: • egui_extras::install_image_loaders for PNG support • egui::include_image! to embed images at compile time • Image::new() with max_width, corner_radius, sense(click) • fit_to_exact_size for zoom control • pub(crate) to share struct fields across modules • Three-file module structure (app.rs, sidebar.rs, preview.rs) This is Episode 17 of the Learn egui in Neovim series — building real Rust desktop apps from scratch using egui and Neovim. Chapters: 0:00 Intro 0:12 What We're Building 0:22 Key Concepts Preview 0:54 Coding the Image Gallery 7:44 App Demo 8:44 Recap 9:24 Next Episode #rust #egui #rustlang #gui #tutorial #neovim #rustprogramming
Back to tutorials

Duration

10:22

Published

March 13, 2026

Added to Codegiz

March 15, 2026

Open in YouTube