25 Temmuz 2016 Pazartesi

ExifInterface Sınıfı

constructor 
Şöyle yaparız.
String filePath = ...;
ExifInterface exif = new ExifInterface(filePath); //API Level 5
getAttribute metodu
Şöyle yaparız.
String orientation = exif.getAttribute (ExifInterface.TAG_ORIENTATION);
getAttributeInt metodu
Şöyle yaparız.
int orientation = exif.getAttributeInt(
            ExifInterface.TAG_ORIENTATION, 0);



Hiç yorum yok:

Yorum Gönder