Image format of pictures taken with the camera (Android phones)

20,902

I think every device should support JPEG images, because the description of the

takePicture (Camera.ShutterCallback shutter, Camera.PictureCallback raw, Camera.PictureCallback postview, Camera.PictureCallback jpeg)

method says that only raw and postview callbacks may be null.

On the other side, you may always call

camera.getParameters().getSupportedPictureFormats()

to see what picture formats are supported.

Share:
20,902
Fr4nz
Author by

Fr4nz

Game dev. & Android hacker @ Franzis United

Updated on February 16, 2020

Comments

  • Fr4nz
    Fr4nz about 4 years

    For my app I have to send a mail with a photo (I'm using a webservice to do that).

    I'd like to know if there are some Android phones that does not produce jpg file with the camera (such as png file).