-
Notifications
You must be signed in to change notification settings - Fork 567
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
Export Image
and ImageData
by default
#1011
Conversation
This makes the `Image` widget and associated APIs more discoverable. There is also a note added that directs users on how to enable the "image" feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a good idea. Need to adjust some details though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
The CI seems to have some problems right now, will merge once that gets resolved.
this change exposes all of the
Image
functions andImageData::empty
without exposing theimage
crate. it also shows hints about the "image" feature in the API docs.next
this PR doesn't add any functionality, really. still without the "image" feature enabled you can only draw an empty
Image
widget, but this is just an incremental step toward a more robust API for this feature.i already have a bunch of documentation changes for
image.rs
, but i wanted to push this change first (i'm also working on my git habits).