-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Description
The current macOS implementation of image_picker just delegates to file_selector and ignores all of the arguments that allow resizing images or restricting video length. We should consider implementing them, if we can do so without bringing in new library dependencies.
(Ideally we wouldn't have these be part of image_picker at all, and would leave that for post-processing by other code, but on iOS we get image data rather than a file, and so it's more efficient to do things like resize the image before writing it to disk, rather than add a write/read of the full sized image only to then resize it from Dart. But given that that doesn't apply on macOS, we may want to deliberately not implement this.)
Alternately, we could only do this once we do #125829