microsoft / microsoft/microsoft-ui-xaml
BitmapImage reports PixelWidth & PixelHeight as zero.
- Dominant language
- C++
- Stars
- 8.4k
- Forks
- 942
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 105
Description
### Describe the bug
BitmapImage reports PixelWidth & PixelHeight as zero.
### Steps to reproduce the bug
This seems to be a permanent issue.
### Expected behavior
I expect PixelWidth & PixelHeight to report the size as presented.
### Screenshots
_No response_
### NuGet package version
WinUI 3 - Windows App SDK 1.6.1: 1.6.240923002
### Windows version
Windows 11 (22H2): Build 22621
### Additional context
_No response_
Contributor guide
Research direction
Reproduce the issue with WinUI 3 and Windows App SDK 1.6.1 on Windows 11 22H2, focusing on BitmapImage after it loads. No source file, test, or entry point is identified in the report. Done means PixelWidth and PixelHeight report the presented image dimensions rather than zero.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100