Skip to content

[android]ImageSource does not support direct Stream assignment #3307

Closed

Description

@1106245966

avatar.Source = new ImageSource(file.GetStream())
report errors “ImageSource does not support direct Stream assignment”

Activity

  1. added
    kind/feedback
    triage/untriaged
    on Jun 5, 2020
  2. jeromelaban commented on Jun 5, 2020

    @jeromelaban
    Member

    Thanks for the report!

    This is not a WinUI supported operation and will be removed soon. You can use BitmapImage.SetSourceAsync instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/feedbacktriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions