mirror of
https://github.com/processwire/processwire.git
synced 2025-08-11 17:24:46 +02:00
Fix issue processwire/processwire-issues#599
This commit is contained in:
@@ -135,7 +135,7 @@ class ImageInspector extends WireData {
|
|||||||
if(is_array($additionalInfo) && $parseAppmarker) {
|
if(is_array($additionalInfo) && $parseAppmarker) {
|
||||||
$appmarker = array();
|
$appmarker = array();
|
||||||
foreach($additionalInfo as $k => $v) {
|
foreach($additionalInfo as $k => $v) {
|
||||||
$appmarker[$k] = substr($v, 0, strpos($v, chr(null)));
|
$appmarker[$k] = substr($v, 0, strpos($v, chr(0)));
|
||||||
}
|
}
|
||||||
$this->info['appmarker'] = $appmarker;
|
$this->info['appmarker'] = $appmarker;
|
||||||
if(isset($additionalInfo['APP13'])) {
|
if(isset($additionalInfo['APP13'])) {
|
||||||
@@ -158,7 +158,7 @@ class ImageInspector extends WireData {
|
|||||||
* Check orientation (@horst)
|
* Check orientation (@horst)
|
||||||
*
|
*
|
||||||
* @param array
|
* @param array
|
||||||
* @return bool
|
* @return array
|
||||||
* @todo there is already a checkOrientation method in ImageSizerEngine - do we need both?
|
* @todo there is already a checkOrientation method in ImageSizerEngine - do we need both?
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@@ -273,8 +273,6 @@ class ImageInspector extends WireData {
|
|||||||
/**
|
/**
|
||||||
* parse JPEG Image and collect information into $this->info
|
* parse JPEG Image and collect information into $this->info
|
||||||
*
|
*
|
||||||
* @return bool
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
protected function loadImageInfoJpg() {
|
protected function loadImageInfoJpg() {
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user