Documentation

Horde_Image_Exif_Bundled extends Horde_Image_Exif_Base
in package

Class for dealing with Exif data using a bundled PHP library based on the Exifer code written by and Copyright 2003 Jake Olefsky

Tags
see
http://www.offsky.com/software/exif/index.php
author

Jake Olefsky jake@olefsky.com

author

Michael J. Rubinsky mrubinsk@horde.org

category

Horde

copyright

2009-2017 Horde LLC

Table of Contents

$_logger  : mixed
Optional Logger
$_params  : array<string|int, mixed>
Instance parameters.
__construct()  : mixed
getData()  : mixed
supportedCategories()  : mixed
_degToDecimal()  : float
Convert degrees representation to decimal representation.
_formatData()  : unknown_type
_logDebug()  : mixed
_logErr()  : mixed
_lookupTag()  : unknown_type
_lookupType()  : array<string|int, mixed>
Look up the data type.
_parseGPSData()  : float
Parse the Longitude and Latitude values into a standardized format regardless of the source format.
_processData()  : array<string|int, mixed>
Process the EXIF data.
_readData()  : array<string|int, mixed>
_readEntry()  : unknown_type

Properties

$_logger

Optional Logger

protected mixed $_logger

$_params

Instance parameters.

protected array<string|int, mixed> $_params

Methods

__construct()

public __construct([array<string|int, mixed> $params = array() ]) : mixed
Parameters
$params : array<string|int, mixed> = array()

Parameter array:

  • logger: Horde_Log_Logger Logger instance.
Return values
mixed

getData()

public getData(mixed $image) : mixed
Parameters
$image : mixed

Filename -or- an open PHP stream (@since 2.2.0).

Return values
mixed

supportedCategories()

public supportedCategories() : mixed
Return values
mixed

_degToDecimal()

Convert degrees representation to decimal representation.

protected _degToDecimal(float $degrees, float $minutes, float $seconds) : float
Parameters
$degrees : float

The degrees latitude or longitude.

$minutes : float

The minutes latitude or longitude.

$seconds : float

the seconds latitude or longitude.

Return values
float

The decimal representation of the latitude or longitute.

_formatData()

protected _formatData( $type,  $tag,  $intel,  $data) : unknown_type
Parameters
$type :
$tag :
$intel :
$data :
Return values
unknown_type

_logDebug()

protected _logDebug(mixed $message) : mixed
Parameters
$message : mixed
Return values
mixed

_logErr()

protected _logErr(mixed $message) : mixed
Parameters
$message : mixed
Return values
mixed

_lookupTag()

protected _lookupTag( $tag) : unknown_type
Parameters
$tag :
Return values
unknown_type

_lookupType()

Look up the data type.

protected _lookupType(mixed $type) : array<string|int, mixed>
Parameters
$type : mixed
Return values
array<string|int, mixed>

An array containing the string type name in the 0 index and the integer size in the 1 index.

_parseGPSData()

Parse the Longitude and Latitude values into a standardized format regardless of the source format.

protected _parseGPSData(mixed $data) : float
Parameters
$data : mixed

An array containing degrees, minutes, seconds in index 0, 1, 2 respectifully.

Return values
float

The location data in a decimal format.

_processData()

Process the EXIF data.

protected _processData(array<string|int, mixed> $exif) : array<string|int, mixed>
Parameters
$exif : array<string|int, mixed>

Array of EXIF data.

Return values
array<string|int, mixed>

An array of processed EXIF data.

_readData()

protected _readData(mixed $path) : array<string|int, mixed>
Parameters
$path : mixed

Filename -or- an open PHP stream.

Return values
array<string|int, mixed>

_readEntry()

protected _readEntry( &$result,  $in,  $intel,  $ifd_name,  $globalOffset) : unknown_type
Parameters
$result :
$in :
$intel :
$ifd_name :
$globalOffset :
Return values
unknown_type

Search results