1
0
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:
Oliver Vogel
2017-01-18 21:07:08 +01:00
committed by GitHub
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()