You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though we should probably provide a way to iterate over all the formats. I wonder if a method like fn all() -> impl Iterator<Item=ImageFormat> would be good?
I would like to be able to ask
image
what file extensions it supports give its current feature flags.For instance:
println("{:?}", image::extensions());
could print["jpg", "jpeg", "png"]
if only theimage
andjpeg
features ofimage
is turned on.My specific use case for this functionality is adding file extension filters to a file dialog.
The text was updated successfully, but these errors were encountered: