ExifInterface

Class of android.media · ExifInterface.java · Android's reference

public class ExifInterface

The Exif tags of a JPEG file: the TIFF entries of its APP1 segment, from IFD0 and the Exif IFD. Other files have no tags here.

Fields

public static final String TAG_ORIENTATION = "Orientation" source
public static final String TAG_IMAGE_WIDTH = "ImageWidth" source
public static final String TAG_IMAGE_LENGTH = "ImageLength" source
public static final String TAG_MAKE = "Make" source
public static final String TAG_MODEL = "Model" source
public static final String TAG_DATETIME = "DateTime" source
public static final String TAG_DATETIME_ORIGINAL = "DateTimeOriginal" source
public static final String TAG_PIXEL_X_DIMENSION = "PixelXDimension" source
public static final String TAG_PIXEL_Y_DIMENSION = "PixelYDimension" source
public static final String TAG_SOFTWARE = "Software" source
public static final String TAG_FLASH = "Flash" source
public static final String TAG_WHITE_BALANCE = "WhiteBalance" source
public static final int ORIENTATION_UNDEFINED = 0 source
public static final int ORIENTATION_NORMAL = 1 source
public static final int ORIENTATION_FLIP_HORIZONTAL = 2 source
public static final int ORIENTATION_ROTATE_180 = 3 source
public static final int ORIENTATION_FLIP_VERTICAL = 4 source
public static final int ORIENTATION_TRANSPOSE = 5 source
public static final int ORIENTATION_ROTATE_90 = 6 source
public static final int ORIENTATION_TRANSVERSE = 7 source
public static final int ORIENTATION_ROTATE_270 = 8 source

Constructors

public ExifInterface(String filename) throws IOException source
public ExifInterface(File file) throws IOException source
public ExifInterface(FileDescriptor fileDescriptor) throws IOException source
public ExifInterface(InputStream inputStream) throws IOException source

Methods

public String getAttribute(String tag) source
public boolean hasAttribute(String tag) source
public int getAttributeInt(String tag, int defaultValue) source
public double getAttributeDouble(String tag, double defaultValue) source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.