android Programming Glossary: exifinterface.tag_orientation
setRotation(90) to take picture in portrait mode does not work on samsung devices http://stackoverflow.com/questions/11023696/setrotation90-to-take-picture-in-portrait-mode-does-not-work-on-samsung-device imagePath Log.d EXIF value exif.getAttribute ExifInterface.TAG_ORIENTATION if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase.. ExifInterface.TAG_ORIENTATION if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase 6 realImage ImageUtil.rotate realImage 90.. ImageUtil.rotate realImage 90 else if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase 8 realImage ImageUtil.rotate realImage 270..
Android: rotate image without loading it to memory http://stackoverflow.com/questions/12044674/android-rotate-image-without-loading-it-to-memory
EXIF orientation tag value always 0 for image taken with portrait camera app android http://stackoverflow.com/questions/13245556/exif-orientation-tag-value-always-0-for-image-taken-with-portrait-camera-app-and file.getAbsolutePath int orientation exif.getAttributeInt ExifInterface.TAG_ORIENTATION ExifInterface.ORIENTATION_NORMAL catch Exception e Following.. new ExifInterface path orientation exif.getAttributeInt ExifInterface.TAG_ORIENTATION 1 Log.e orientation orientation Matrix m new Matrix if orientation..
why image captured using camera intent gets rotated on some devices in android http://stackoverflow.com/questions/14066038/why-image-captured-using-camera-intent-gets-rotated-on-some-devices-in-android ExifInterface photoPath int orientation ei.getAttributeInt ExifInterface.TAG_ORIENTATION ExifInterface.ORIENTATION_NORMAL switch orientation case ExifInterface.ORIENTATION_ROTATE_90..
Picture orientation from gallery/camera intent http://stackoverflow.com/questions/4517634/picture-orientation-from-gallery-camera-intent int orientation exif.getAttributeInt ExifInterface.TAG_ORIENTATION ExifInterface.ORIENTATION_NORMAL switch orientation case ExifInterface.ORIENTATION_ROTATE_270..
How to determine orientation of picture without ExifInterface? http://stackoverflow.com/questions/5309863/how-to-determine-orientation-of-picture-without-exifinterface Since API Level 5 String exifOrientation exif.getAttribute ExifInterface.TAG_ORIENTATION Thanks in advance android exif share improve this question..
Camera orientation problem in android http://stackoverflow.com/questions/6069122/camera-orientation-problem-in-android Since API Level 5 String exifOrientation exif.getAttribute ExifInterface.TAG_ORIENTATION Since the photo is displaying correctly in your app i'm not..
How to get Latitude and Longitude infromation from picture http://stackoverflow.com/questions/6798508/how-to-get-latitude-and-longitude-infromation-from-picture n builder.append Camera Orientation getExifTag exif ExifInterface.TAG_ORIENTATION n builder.append Camera White Balance getExifTag exif ExifInterface.TAG_WHITE_BALANCE..
Portrait for phone, landscape for Tablet (Android-Layout) http://stackoverflow.com/questions/7668367/portrait-for-phone-landscape-for-tablet-android-layout
Images taken with ACTION_IMAGE_CAPTURE always returns 1 for ExifInterface.TAG_ORIENTATION on some newer devices http://stackoverflow.com/questions/8450539/images-taken-with-action-image-capture-always-returns-1-for-exifinterface-tag-or taken with ACTION_IMAGE_CAPTURE always returns 1 for ExifInterface.TAG_ORIENTATION on some newer devices I had the orientation issue when working..
setRotation(90) to take picture in portrait mode does not work on samsung devices http://stackoverflow.com/questions/11023696/setrotation90-to-take-picture-in-portrait-mode-does-not-work-on-samsung-device stream ExifInterface exif new ExifInterface getRealPathFromURI imagePath Log.d EXIF value exif.getAttribute ExifInterface.TAG_ORIENTATION if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase 6 realImage ImageUtil.rotate realImage 90 else if exif.getAttribute.. getRealPathFromURI imagePath Log.d EXIF value exif.getAttribute ExifInterface.TAG_ORIENTATION if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase 6 realImage ImageUtil.rotate realImage 90 else if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase.. ExifInterface.TAG_ORIENTATION .equalsIgnoreCase 6 realImage ImageUtil.rotate realImage 90 else if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase 8 realImage ImageUtil.rotate realImage 270 else if exif.getAttribute ExifInterface.TAG_ORIENTATION .equalsIgnoreCase..
Android: rotate image without loading it to memory http://stackoverflow.com/questions/12044674/android-rotate-image-without-loading-it-to-memory
EXIF orientation tag value always 0 for image taken with portrait camera app android http://stackoverflow.com/questions/13245556/exif-orientation-tag-value-always-0-for-image-taken-with-portrait-camera-app-and ExifInterface exif new ExifInterface file.getAbsolutePath int orientation exif.getAttributeInt ExifInterface.TAG_ORIENTATION ExifInterface.ORIENTATION_NORMAL catch Exception e Following is the code for surphace created and changed functions @Override.. path o2 Bitmap bitmap bm ExifInterface exif new ExifInterface path orientation exif.getAttributeInt ExifInterface.TAG_ORIENTATION 1 Log.e orientation orientation Matrix m new Matrix if orientation 3 m.postRotate 180 m.postScale float bm.getWidth..
why image captured using camera intent gets rotated on some devices in android http://stackoverflow.com/questions/14066038/why-image-captured-using-camera-intent-gets-rotated-on-some-devices-in-android that the photo should be viewed in. ExifInterface ei new ExifInterface photoPath int orientation ei.getAttributeInt ExifInterface.TAG_ORIENTATION ExifInterface.ORIENTATION_NORMAL switch orientation case ExifInterface.ORIENTATION_ROTATE_90 rotateImage bitmap 90 break..
Picture orientation from gallery/camera intent http://stackoverflow.com/questions/4517634/picture-orientation-from-gallery-camera-intent File imagePath ExifInterface exif new ExifInterface imageFile.getAbsolutePath int orientation exif.getAttributeInt ExifInterface.TAG_ORIENTATION ExifInterface.ORIENTATION_NORMAL switch orientation case ExifInterface.ORIENTATION_ROTATE_270 rotate 270 break case ExifInterface.ORIENTATION_ROTATE_180..
How to determine orientation of picture without ExifInterface? http://stackoverflow.com/questions/5309863/how-to-determine-orientation-of-picture-without-exifinterface way ExifInterface exif new ExifInterface SourceFileName Since API Level 5 String exifOrientation exif.getAttribute ExifInterface.TAG_ORIENTATION Thanks in advance android exif share improve this question Easy implement your own exif reader Then Metadata metadata..
Camera orientation problem in android http://stackoverflow.com/questions/6069122/camera-orientation-problem-in-android for ExifInterface exif new ExifInterface SourceFileName Since API Level 5 String exifOrientation exif.getAttribute ExifInterface.TAG_ORIENTATION Since the photo is displaying correctly in your app i'm not sure where the problem is but this should definitely set you..
How to get Latitude and Longitude infromation from picture http://stackoverflow.com/questions/6798508/how-to-get-latitude-and-longitude-infromation-from-picture Camera Model getExifTag exif ExifInterface.TAG_MODEL n builder.append Camera Orientation getExifTag exif ExifInterface.TAG_ORIENTATION n builder.append Camera White Balance getExifTag exif ExifInterface.TAG_WHITE_BALANCE n builder null catch IOException..
Portrait for phone, landscape for Tablet (Android-Layout) http://stackoverflow.com/questions/7668367/portrait-for-phone-landscape-for-tablet-android-layout
Images taken with ACTION_IMAGE_CAPTURE always returns 1 for ExifInterface.TAG_ORIENTATION on some newer devices http://stackoverflow.com/questions/8450539/images-taken-with-action-image-capture-always-returns-1-for-exifinterface-tag-or taken with ACTION_IMAGE_CAPTURE always returns 1 for ExifInterface.TAG_ORIENTATION on some newer devices I had the orientation issue when working with ACTION_IMAGE_CAPTURE activity. I have used the TAG_ORIENTATION..
|