.NET MAUI - Camera View - Images Portrait

NickNN 40 Reputation points
2025-04-25T14:19:39.2266667+00:00

Hello,

I'm using CameraView from CommunityToolkit.Maui.Camera, and I take photos that I display in another view.

When I take the image with the iPad in portrait mode, the photo I took displays fine. I even save it to disk and display it later in another view, and it still looks fine, vertically.

But then, when I generate the b64 of that image, it rotates. It only happens when the image is taken vertically. How can I fix this?

I've tried rotating it with SixLabors.ImageSharp, but it takes a long time.

Any ideas for an alternative? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,084 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.