Commit 7ac767e5 authored by Nicolas Widart's avatar Nicolas Widart

Adding orientate implementation

parent cc0dd28d
......@@ -44,8 +44,9 @@ return [
// 'count' => 90,
// 'matte' => '#ff9900'
// ],
'opacity' => [
'transparency' => 10
],
// 'opacity' => [
// 'transparency' => 10
// ],
'orientate' => [],
]
];
<?php namespace Modules\Media\Image\Intervention\Manipulations;
use Modules\Media\Image\ImageHandlerInterface;
class Orientate implements ImageHandlerInterface
{
/**
* Handle the image manipulation request
* @param \Intervention\Image\Image $image
* @param array $options
* @return \Intervention\Image\Image
*/
public function handle($image, $options)
{
return $image->orientate();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment