문제

Hi I am trying to capture images in black and white, while I was searching the google I notice that the android camera has a parameter like the mono effect.

I used like this:

Parameters param = camera.getParameters();
param.setColorEffect(Camera.Parameters.EFFECT_WHITEBOARD);
cameraObject.setParameters(param);

But there is a problem, this is not Black and White, there are grey tones also, I just want two colors ! The Black and the White ! Is there any way to do it? How?

Thanks alot in advance !

도움이 되었습니까?

해결책

I have found it

Take monochrome picture (black and white) with Android

If someone has a better/faster solution please tell me :)

Thanks alot

다른 팁

It is called Camera.Parameters.EFFECT_MONO for "monochrome" which is the technical term for "black and white".

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top