mirror of
https://github.com/Intervention/image.git
synced 2025-08-23 22:12:51 +02:00
Merge pull request #667 from frederikbosch/fix-exif-imagick-bug
fix exif imagick bug when reading complete array of exif data
This commit is contained in:
@@ -53,7 +53,7 @@ class ExifCommand extends BaseCommand
|
||||
continue;
|
||||
}
|
||||
|
||||
$exif[substr($key, 6)] = $value;
|
||||
$exif[substr($key, 5)] = $value;
|
||||
}
|
||||
|
||||
$this->setOutput($exif);
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user