The takePicture rawCallback returns a null pointer. The getPictureFormat only allows for .jpg. While the jpeg can be improved with getParameters() setJpegQuality(100) setParameters, the image returned is still a jpeg. To get a bitmap image BitmapFactory.decodeByteArray needs to be called, which can take 1/2 second to process. The takePicture rawCallback returns a null poin