Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce egui_extras with RetainedImage for loading svg,png,jpeg,… #1282

Merged
merged 1 commit into from
Feb 21, 2022

Conversation

emilk
Copy link
Owner

@emilk emilk commented Feb 21, 2022

This adds the new crate egui_extras that is meant for things that don't quite fit into egui proper, either because it is experimental, or because it uses dependencies that does not belong in egui.

In this initial PR only one thing is added to egui_extras: RetainedImage. This is an easy way to load images (once you have them in memory). It supports anything the image crate supports, plus SVG files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant