title: Android Camera setPictureFormat and data array in onPictureTaken
body: <p>Hello I was just writing a little Android application which takes an image from the camera und was wondering what the camera Parameter Method setPictureFormat() actually does and what influence it has. As far as I know camera.takePicture() actually only provides data in the JPEG callback. So I would think that data array that arrives in onPictureTaken() is a JPEG data anyway? So why should I set this parameter to PixelFormat.RGB_565 for example? And is there any way to directly interpret the data array directly in onPictureTaken() whithout for example BitmapFactory.decodeByteArray? What I find rather strange is that I have an resulting Image with a resolution of 2448*3264 corresponds to a total of 7990272 pixels. However the underlying data aray that created this image only has a length of about 2000000 pixel. If anyone could clarify that for me it would be much appreciated.</p>