Set android camera to send gray scale images

冷暖自知 提交于 2019-12-31 05:14:47

问题


Can the android camera be programmatically set to send gray scale images. I'm not asking about conversion after the images have been received, I'm asking for a way to programmatically set it like we do with fps, resolution etc.


回答1:


Are you talking about the built in camera app (via an intent) or inside your app?

If it's the built in camera app, i don't think it's possible, and even if it was , you can't assume it will work the same on all devices, since many of them have customized camera apps.

About camera within your app, yes, you can do it, and there are examples out there how to do show things on the camera based on its content , like this one



来源:https://stackoverflow.com/questions/18480498/set-android-camera-to-send-gray-scale-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!