Android Question How to Take Black & White Photos

Spacewalker

Member
Licensed User
Longtime User
Hello,

is there a way to tell the camera to take pictures in black and white?

Alternativly I could maybe convert a picture that was taken into Black & white ?
Currently I have this code:

B4X:
Sub Camera1_PictureTaken ( Data() as byte)

    CamEx.SavePictureToFile(Data, tempDir, tempFile)
   
    'convert to black & white somehow here..?
   
    ..
end sub

thank you
 

udg

Expert
Licensed User
Longtime User
Hi Spacewalker,

had you a look at this thread? Get/SetColorEffects should cover your needs, although I never tried those so please verify it before you proceed.

Umberto
 
Upvote 0
Top