CameraCaptureUI不保存照片 [英] CameraCaptureUI is not saving photos

查看:87
本文介绍了CameraCaptureUI不保存照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题刚刚开始发生在最后一两天,似乎是在最近的Windows更新之后,而且它只在某些设备上发生。我们的Uwp应用程序使用CameraCaptureUI,如下所示:



 

var captureUI = new CameraCaptureUI();
captureUI.PhotoSettings.Format = CameraCaptureUIPhotoFormat.Jpeg;
captureUI.PhotoSettings.MaxResolution = CameraCaptureUIMaxPhotoResolution.HighestAvailable;
captureUI.PhotoSettings.AllowCropping = false;

var photo = await captureUI.CaptureFileAsync(CameraCaptureUIMode.Photo);




当对话框出现并拍照时,它会产生快门噪音但不提供确认照片的选项。图片未显示在照片目录中。附加调试器后,我在输出中看不到任何异常,并且CaptureFileAsync
没有返回。我看到的设备是在Windows 10 16299.309上。我们有多个客户投诉。



如果我单独打开相机应用程序,它可以正常工作。有什么建议吗?




解决方案

你好! / p>

很抱歉听到您在使用CameraCaptureUI时遇到问题。您是否注意到设备型号或相机中遇到问题的任何模式?你能否为我们捕捉一些反馈痕迹,以便更好地了解正在发生的事情?


为此,找一个可以重现问题的设备。打开反馈中心,然后创建一个新的反馈条目,选择"问题"从顶部的选项。给它一个描述性的标题,和你在这个帖子中解释过的类似
的描述。对于类别和子类别,请选择"设备和驱动程序>
设备相机或网络摄像头"。在其下方,点击"重新创建我的问题"并确保"包含有关设备摄像头或网络摄像头的数据"的复选框检查。当您准备好
来重现问题时,请点击"开始捕获",然后在您的应用中运行该方案。一旦您确信自己遇到了问题,请返回反馈中心并停止捕获。提交反馈项。


大约一分钟后,您的反馈项应显示在"我的反馈"中。应用程序的一部分(当在左边的
反馈菜单下查看时,它是顶部的标签)。从那里,一旦你选择它,你应该能够创建一个我希望你在这里发布的共享链接,所以我可以拿起并检查。


让我知道如果您对此过程有任何疑问。


This issue just started happening in the last day or two, seemingly after recent Windows updates, and it is only on some devices. Our Uwp app uses the CameraCaptureUI like so:

var captureUI = new CameraCaptureUI(); captureUI.PhotoSettings.Format = CameraCaptureUIPhotoFormat.Jpeg; captureUI.PhotoSettings.MaxResolution = CameraCaptureUIMaxPhotoResolution.HighestAvailable; captureUI.PhotoSettings.AllowCropping = false;

var photo = await captureUI.CaptureFileAsync(CameraCaptureUIMode.Photo);


When the dialog appears and I take a picture, it makes a shutter noise but does not give an option to confirm the picture. The picture does not show up in the photos directory. With a debugger attached, I don't see any exceptions in the output, and CaptureFileAsync did not return. The device I'm seeing this on is on Windows 10 16299.309. We have had multiple customer complaints about this.

If I open the camera app separately, it works fine. Any suggestions?


解决方案

Hi there!

Sorry to hear you're having some issues with CameraCaptureUI. Have you noticed any patterns in the device models or cameras that are encountering the problem? Could you capture some feedback traces for us to better understand what's happening?

To do this, find a device that reproduces the problem. Open the Feedback Hub, and create a new feedback entry choosing "Problem" from the options at the top. Give it a descriptive title, and a description similar to what you've explained in this thread. For the category and subcategory, choose "Devices and Drivers > Device Camera or Webcams". Just below that, click "Recreate my problem" and make sure that the checkbox for "Include data about Device camera or Webcams" is checked. When you're ready to reproduce the problem, click "Start Capture", and run through the scenario in your app. Once you're confident you've hit the issue, return to the Feedback Hub and stop the capture. Submit the feedback item.

After a minute or so, your feedback item should show up in the "My feedback" section of the app (it's a tab at the top, when looking under the Feedback menu on the left). From there, once you select it you should be able to create a sharing link that I'd like for you to post here, so I can pick it up and examine.

Let me know if you have any questions about this process.


这篇关于CameraCaptureUI不保存照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆