[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]
