Overview

Packages

  • Image
  • None

Classes

  • Horde_Image
  • Horde_Image_Base
  • Horde_Image_Effect
  • Horde_Image_Effect_Border
  • Horde_Image_Effect_Gd_DropShadow
  • Horde_Image_Effect_Gd_RoundCorners
  • Horde_Image_Effect_Gd_TextWatermark
  • Horde_Image_Effect_Gd_Unsharpmask
  • Horde_Image_Effect_Im_Border
  • Horde_Image_Effect_Im_CenterCrop
  • Horde_Image_Effect_Im_Composite
  • Horde_Image_Effect_Im_DropShadow
  • Horde_Image_Effect_Im_LiquidResize
  • Horde_Image_Effect_Im_PhotoStack
  • Horde_Image_Effect_Im_PolaroidImage
  • Horde_Image_Effect_Im_RoundCorners
  • Horde_Image_Effect_Im_TextWatermark
  • Horde_Image_Effect_Im_Unsharpmask
  • Horde_Image_Effect_Imagick_Border
  • Horde_Image_Effect_Imagick_CenterCrop
  • Horde_Image_Effect_Imagick_Composite
  • Horde_Image_Effect_Imagick_DropShadow
  • Horde_Image_Effect_Imagick_LiquidResize
  • Horde_Image_Effect_Imagick_PhotoStack
  • Horde_Image_Effect_Imagick_PolaroidImage
  • Horde_Image_Effect_Imagick_RoundCorners
  • Horde_Image_Effect_Imagick_SmartCrop
  • Horde_Image_Effect_Imagick_TextWatermark
  • Horde_Image_Effect_Imagick_Unsharpmask
  • Horde_Image_Exception
  • Horde_Image_Exif
  • Horde_Image_Exif_Base
  • Horde_Image_Exif_Bundled
  • Horde_Image_Exif_Exiftool
  • Horde_Image_Exif_Parser_Base
  • Horde_Image_Exif_Php
  • Horde_Image_Gd
  • Horde_Image_Im
  • Horde_Image_Imagick
  • Horde_Image_Png
  • Horde_Image_Svg
  • Horde_Image_Swf
  • Horde_Image_Translation
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Image_Exif

General class for fetching and parsing EXIF information from images.

Works equally well with either the built in php exif functions (if PHP compiled with exif support), the Exiftool package (more complete but slower), or the bundled exif library.

Copyright 2003-2012 Horde LLC (http://www.horde.org/)

Package: Image
Category: Horde
Author: Michael J. Rubinsky mrubinsk@horde.org
Author: Chuck Hagenbuch chuck@horde.org
Located at Horde/Image/Exif.php
Methods summary
public static Horde_Image_Exif
# factory( string $driver = null, array $params = array() )

Factory method for instantiating a Horde_Image_Exif object.

Factory method for instantiating a Horde_Image_Exif object.

Parameters

$driver
$params

Returns

Horde_Image_Exif
public static mixed
# intel2Moto( mixed $intel )

Converts from Intel to Motorola endien. Just reverses the bytes (assumes hex is passed in)

Converts from Intel to Motorola endien. Just reverses the bytes (assumes hex is passed in)

Parameters

$intel

Returns

mixed
public static array
# getCategories( )

Obtain an array of supported meta data fields.

Obtain an array of supported meta data fields.

Returns

array

Todo:

This should probably be extended by the subclass?
public static unknown_type
# getFields( mixed $driver = null, mixed $description_only = false )

Return a flattened array of supported metadata fields.

Return a flattened array of supported metadata fields.

Parameters

$driver
$description_only

Returns

unknown_type
public static string
# getHumanReadable( string $field, string $data )

Convert an exif field into human-readable form. Some of these cases are ported from the Exifer library, others were changed from their implementation where the EXIF standard dictated different behaviour.

Convert an exif field into human-readable form. Some of these cases are ported from the Exifer library, others were changed from their implementation where the EXIF standard dictated different behaviour.

Parameters

$field
The name of the field to translate.
$data
The data value to translate.

Returns

string
The converted data.
API documentation generated by ApiGen