-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathjpeltiff.php
44 lines (34 loc) · 937 Bytes
/
jpeltiff.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @package jpel
* @author Dmitry Tsymbal <[email protected]>
* @copyright Copyright © 2019 Delo Design. All rights reserved.
* @license GNU General Public License version 3 or later; see license.txt
* @link https://delo-design.ru
*/
defined('_JEXEC') or die;
use lsolesen\pel\PelTiff;
JLoader::register('JPelInterface', JPATH_LIBRARIES . DIRECTORY_SEPARATOR . 'jpel' . DIRECTORY_SEPARATOR . 'jpelinterface.php');
/**
* Class JPelTiff
*/
class JPelTiff implements JPelInterface
{
private $tiff;
private $exif;
public function __construct($file)
{
JLoader::registerNamespace('lsolesen\pel', JPATH_LIBRARIES . DIRECTORY_SEPARATOR . 'jpel');
$this->tiff = new PelTiff($file);
$this->exif = $this->tiff->getExif();
}
public function get($name)
{
}
public function set($name)
{
}
public function save($file)
{
}
}