A big refactoring was needed
Example how to show an image with eframe/egui.
cargo run -p retained_image