Photo

Version 1.9 - Updated on 02/14/2017

Contents

Introduction

public interface Photo extends File

Stores information on an image file.

getCapturedDate

String getCapturedDate()

  • Returns: file’s EXIF Date and Time tag.

getWidth

int getWidth()

  • Returns: The width of an image in pixels

getHeight

int getHeight()

  • Returns: The height of an image in pixels.

getGeoLatitude

double getGeoLatitude()

  • Returns: the EXIF GPS Latitude tag for image files.

getGeoLongitude

double getGeoLongitude()

  • Returns: the EXIF GPS Longitude tag for image files.

getOrientation

int getOrientation()

  • Returns: Populated for new content uploaded to ensure that the content is displayed with correct orientation. Supports images with Exif-Orientation flag present numeric values set to 2, 3, 4, 5, 6, 7, 8. Also supports videos in MP4 (ISO/Quicktime) format with Matrix rotating video stream by 90, 180 or 270 degrees, which produces 8, 3 and 6 as numeric Orientation system attribute values.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.