Saturday, November 21, 2026
HomeiOS Developmentc# - .NET MAUI Utilizing full digicam decision

c# – .NET MAUI Utilizing full digicam decision

[ad_1]

Does anyone know learn how to use the total decision of the iPhone’s digicam when taking images and/or movies in a .NET MAUI app. Under is the code im utilizing to take a video after which save that file to the filesystem. However the after reviewing the video it’s definetly not even near the total high quality that the digicam gives. It additionally shows very low decision within the viewport.

FileResult video = await MediaPicker.Default.CaptureVideoAsync();
if (video != null)
{
    // save the file into native storage
    string localFilePath = Path.Mix(FileSystem.CacheDirectory, video.FileName);

    utilizing Stream sourceStream = await video.OpenReadAsync();

    utilizing FileStream localFileStream = File.OpenWrite(localFilePath);

    await sourceStream.CopyToAsync(localFileStream);
}

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments