Skip to content

[Feature] Add ability to load from a Stream to the image cropper #4569

@knightmeister

Description

@knightmeister

Describe the problem

At the moment, the image cropper can only load from a file (via a StorageFile or path).

There are scenarios where loading from a stream is beneficial (i.e. when downloading from the web). It's obviously trivial to work around this, but given all LoadImageFromFile does is create a stream, why not just expose the stream?

Describe the solution

Create a new method called LoadImageFromStream and allow a stream to be used to load the file.

Alternatives

No response

Additional info

No response

Help us help you

No.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature request 📬A request for new changes to improve functionalitygood first issueIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunities

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions