Skip to content

Conversation

@HariniMalothu17
Copy link
Contributor

@HariniMalothu17 HariniMalothu17 commented Jan 29, 2026

Description

Fixed [Image.getSize()] to properly initialize the memory stream when fetching local files, enabling support for , ms-appx://, and ms-appdata:// URI schemes

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Why

Added support for local file URI schemes (, ms-appx://, ms-appdata://) by including them in the condition that calls [GetImageStreamAsync()

Resolves #15603

What

This change fixes the Image.getSize() API to properly support local file URIs on Windows.

Screenshots

image

Testing

Working in playground as expected

Changelog

Should this change be included in the release notes: yes

Add a brief summary of the change to use in the release notes for the next release.

Microsoft Reviewers: Open in CodeFlow

@HariniMalothu17 HariniMalothu17 requested a review from a team as a code owner January 29, 2026 15:32
@HariniMalothu17 HariniMalothu17 changed the title Fix memoryStram getting unitialized Fix memoryStream getting unitialized Jan 29, 2026
@HariniMalothu17 HariniMalothu17 changed the title Fix memoryStream getting unitialized Fix memoryStream getting unitialized and fetching local files Jan 30, 2026
@HariniMalothu17 HariniMalothu17 changed the title Fix memoryStream getting unitialized and fetching local files Fixed Image.getSize() to properly initialize the memory stream when fetching local files Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant