dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.99k stars 1.72k forks source link

Some HEIC photos is upside down after using PlatformImage.Resize #23832

Open bycreal opened 1 month ago

bycreal commented 1 month ago

Description

In iOS and macOS, HEIC is common format for photos. Some HEIC photos is upside down after using PlatformImage.Resize But PlatformImage.Downsize no problem.

Steps to Reproduce

See sample project: Simulator Screenshot - iPhone 15 - 2024-07-25 at 23 41 53

Link to public reproduction project repository

https://github.com/bycreal/PlatformImageResizeIssue

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

iOS 17, macOS 14

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

kevinxufei commented 1 month ago

This issue has been verified using Visual Studio 17.11.0 Preview 5.0(8.0.70 & 8.0.40 & 8.0.21). Can repro on it with sample project. PlatformImageResizeIssue-main.zip