summaryrefslogtreecommitdiff
path: root/inc/JpegMeta.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-02-17 23:20:40 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-02-17 23:20:40 +0100
commit98c868589ee0757f176239cf289cbd007bb74852 (patch)
treeeb48a172b0f1a423b93ffff35f8adf8d579383c1 /inc/JpegMeta.php
parent1c73890c5027011d808d38c583561abc309e8086 (diff)
downloadrpg-98c868589ee0757f176239cf289cbd007bb74852.tar.gz
rpg-98c868589ee0757f176239cf289cbd007bb74852.tar.bz2
file cleanups
This patch cleans up the source code to satisfy the coding guidelines (see http://wiki.splitbrain.org/wiki:development#coding_style) It converts files to UNIX lineendings and removes tabs and trailing whitespace. Not all files were cleaned yet. darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
Diffstat (limited to 'inc/JpegMeta.php')
-rw-r--r--inc/JpegMeta.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/inc/JpegMeta.php b/inc/JpegMeta.php
index eb9ab8627..885f565e2 100644
--- a/inc/JpegMeta.php
+++ b/inc/JpegMeta.php
@@ -3,7 +3,7 @@
* JPEG metadata reader/writer
*
* @license PHP license 2.0 (http://www.php.net/license/2_02.txt)
- * @link http://www.zonageek.com/software/php/jpeg/index.php
+ * @link http://www.zonageek.com/software/php/jpeg/index.php
* @author Sebastian Delmont <sdelmont@zonageek.com>
* @author Andreas Gohr <andi@splitbrain.org>
* @todo Add support for Maker Notes, Extend for GIF and PNG metadata
@@ -121,7 +121,7 @@ class JpegMeta
return $info;
}
-
+
/**
* Convinience function to access nearly all available Data
* through one function
@@ -154,7 +154,7 @@ class JpegMeta
}
if($info != false) break;
}
-
+
if($info === false) $info = $alt;
if(is_array($info)){
if(isset($info['val'])){
@@ -214,7 +214,7 @@ class JpegMeta
if (isset($this->_info['dates'][$field])) {
return $this->_info['dates'][$field];
}
-
+
return false;
}
@@ -232,7 +232,7 @@ class JpegMeta
if (isset($this->_info['file'][$field])) {
return $this->_info['file'][$field];
}
-
+
return false;
}
@@ -848,7 +848,7 @@ class JpegMeta
}
return false;
}
-
+
/*************************************************************/
/* PRIVATE FUNCTIONS (Internal Use Only!) */
/*************************************************************/
@@ -1325,7 +1325,7 @@ class JpegMeta
return false;
}
- $pos = 0;
+ $pos = 0;
$this->_info['jfif'] = array();
@@ -1395,7 +1395,7 @@ class JpegMeta
return false;
}
- $pos = 0;
+ $pos = 0;
$this->_info['sof'] = array();
@@ -2353,7 +2353,7 @@ class JpegMeta
}
/*************************************************************/
- function _write8BIM(&$data, $pos, $type, $header, &$value)
+ function _write8BIM(&$data, $pos, $type, $header, &$value)
{
$signature = "8BIM";