<?php
$filename = __DIR__ . '/tests/Imbo/Fixtures/640x160_rotated.jpg';

$imagick = new Imagick();
$imagick->readImageBlob(file_get_contents($filename));
echo "getImageOrientation() => " . $imagick->getImageOrientation() . PHP_EOL;
var_dump($imagick->getImageProperties());
var_dump(exif_read_data($filename));

<?php
$filename = __DIR__ . '/tests/Imbo/Fixtures/640x160_rotated.jpg';

$imagick = new Imagick();
$imagick->readImageBlob(file_get_contents($filename));
echo "getImageOrientation() => " . $imagick->getImageOrientation() . PHP_EOL;
var_dump($imagick->getImageProperties());
var_dump(exif_read_data($filename, 'EXIF'));
var_dump(exif_read_data('tests/Imbo/Fixtures/image.png', 'EXIF'));

$imagick = new Imagick();
$imagick->readImageBlob(file_get_contents('tests/Imbo/Fixtures/exif-logo.jpg'));
var_dump($imagick->getImageProperties());

Test with another image as well
Test with another image as well
