1: <?php
2: /**
3: * Exif driver for Horde_Image utilizing PHP's compiled-in exif functions
4: *
5: * Copyright 2009-2012 Horde LLC (http://www.horde.org/)
6: *
7: * See the enclosed file COPYING for license information (LGPL). If you
8: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
9: *
10: * @author Michael J. Rubinsky <mrubinsk@horde.org>
11: * @package Image
12: */
13: class Horde_Image_Exif_Php extends Horde_Image_Exif_Base
14: {
15: public function getData($image)
16: {
17: return $this->_processData(@exif_read_data($image, 0, false));
18: }
19:
20: public function supportedCategories()
21: {
22: return array('EXIF');
23: }
24: }
25: