\Kaloa\Xmp\PropertiesExifProperties

Extracts the Exif properties from an XMP document referenced by an XPath instance.

The descriptions for all getters are taken from exiv2.org.

Summary

Methods
Properties
Constants
__construct()
getDateTimeOriginal()
getExifVersion()
getPixelXDimension()
getPixelYDimension()
No public properties found
No constants found
init()
$xPath
N/A
No private methods found
No private properties found
N/A

Properties

$xPath

$xPath : \DOMXPath

XPath instance for a Kaloa\Xmp\Document.

Type

\DOMXPath

Methods

__construct()

__construct(\DOMXPath  $xPath) 

Initializes the instance.

Parameters

\DOMXPath $xPath

XPath instance for a Kaloa\Xmp\Document

getDateTimeOriginal()

getDateTimeOriginal() : \DateTime|null

Returns date and time when original image was generated, in ISO 8601 format.

Returns

\DateTime|null

getExifVersion()

getExifVersion() : string

Returns the EXIF version number.

Returns

string

getPixelXDimension()

getPixelXDimension() : string

Return the image width, in pixels.

Returns

string

getPixelYDimension()

getPixelYDimension() : string

Returns the image height, in pixels.

Returns

string

init()

init() 

Retrieves all properties from the underlying XMP document.