-
Notifications
You must be signed in to change notification settings - Fork 1.9k
IIMage.Resize bugged behaviour #31103
Copy link
Copy link
Closed
Labels
platform/androidplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Metadata
Metadata
Assignees
Labels
platform/androidplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
When picking an image file from disk as a stream, getting an
IImageusingPlatformImage.FromStream()method, then apply aResize()method on it then usingIImage.SaveAsync()mthod to save the resized image result in several bugs :disposeOriginal = trueparameter onResize()method, made the new returned resizedIImagedisposed ! (was expecting only the originalIImageto be disposed), so the new resizedIImagecannot be displayed.Steps to Reproduce
Pick imagebuttonOn Windows
On Android
resizedImageis disposed !)Link to public reproduction project repository
https://github.com/elTRexx/ItemSelectWithToolTip
Version with bug
9.0.90 SR9
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows, Android
Affected platform versions
Android API 28 (used for easier file access authorization) Windows SDK 10.0.19041.0
Did you find any workaround?
No
Relevant log output