CameraCaptureTask在某些型号上返回黑色图片 [英] CameraCaptureTask returning black picture on some models
本文介绍了CameraCaptureTask在某些型号上返回黑色图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们的应用使用了CameraCaptureTask()函数.该应用已通过认证.
Our app uses the CameraCaptureTask() function. The app has passed certification.
推荐答案
您是否完全调整了图像的大小?我问是因为它可能实际上在"* IS *"上正常工作,并且如果您不调整其大小,则它拍摄并在用户屏幕上显示的超大图像部分可能只是黑色,所以看起来好像没有t 拍张照片.我经历了好几次,直到意识到必须缩小比例,以便用户可以看到它(或允许他们在其中滚动).
只是一个想法.
Are you resizing the image at all? I ask because it could be that it actually *IS* working and if you're not re-sizing it, the portion of the very large image it takes and is displaying on the users screen could just be black so it looks like it didn't take a picture. I had that happen to me quite a few times until I realized I had to scale it down so the user could see it (or allow them to scroll around in it).
Just a thought.
这篇关于CameraCaptureTask在某些型号上返回黑色图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文