How to set the camera for only black and white images? In my program I am using
Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
for taking images.
The modes like scene modes or the color effects, once the camera interface is open and ready to use. You can use the Camera.Parameters to set the mode once the camera is up. You can use the EFFECT_MONO(monochrome) from the color effects to get black & white images...
The below code snippet shows on how to use it,
mCameraDevPara.setColorEffect(android.hardware.Camera.Parameters.EFFECT_MONO);
mCameraDev.setParameters(mCameraDevPara);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With