Open itsNiccoloSabatini opened 4 weeks ago
It seems the problem disappeared with latest egui/eframe version (0.29.1)
This crate uses Cargo features to enable/disable format support. So probably what happened is that egui/eframe set default-features = false
and in the process disabled support for PNG, JPEG and all the other formats.
This happens in Rust egui/eframe framework,
I add an image to my UI, written in Rust using egui and eframe, and it used to be load with the
24.9
. But when I updated to25.2
the images won't load anymore. there's a pop up saying "failed loading bytes::/imagePath: the image format Png is not supported" or the same but Jpeg.ui.add(egui::Button::image(LocalImage::Menu.as_image()).fill(UiColor::Orange)
this is how I load an image now, andLocalImage
is looks something like this:this is an image of what happens.