Search code examples
javaandroidkotlinandroid-cameraandroid-camera2

Taking raw pictures from the camera


So, I'm trying to take a picture from the back camera of the phone with flash but seems like the camerakit library returns a bytes array when captureImage is called and,

I'm not sure if they are jpeg or raw bytes (what I want), the other thing I tried is use camera2 API but looks complicated (not sure if is the right approach also) and I could not find a good tutorial in raw format, just jpeg.

Could someone help me with a tutorial, example, or recommendation to proceed?


Solution

  • sample project see: Raw-Dumper