1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-27 15:50:09 +02:00

fix exif imagick bug when reading complete array of exif data

This commit is contained in:
Frederik Bosch
2017-01-18 20:25:45 +01:00
parent 2bce9a59c4
commit 91175bfb49
2 changed files with 2 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ class ExifCommand extends BaseCommand
continue;
}
$exif[substr($key, 6)] = $value;
$exif[substr($key, 5)] = $value;
}
$this->setOutput($exif);

View File

@@ -67,6 +67,7 @@ class ExifCommandTest extends PHPUnit_Framework_TestCase
$this->assertTrue($result);
$this->assertTrue($command->hasOutput());
$this->assertInternalType('array', $command->getOutput());
$this->assertEquals('Oliver Vogel', $command->getOutput()['Artist']);
}
public function testImagickFetchDefined()