- Classes
- Namespaces
- Interfaces
- Traits
- Index

Class

# Imagine\Filter\Basic\Autorotate

class Autorotate implements FilterInterface

Rotates an image automatically based on exif information.

Your attention please: This filter requires the use of the ExifMetadataReader to work.

## Methods

| __construct(string|array|ColorInterface $color = '000000') |
ImageInterface | apply(ImageInterface $image) Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance |

## Details

###
at line 33
`public __construct(string|array|ColorInterface $color = '000000')`

#### Parameters

string|array|ColorInterface | $color | A color

###
at line 41
`public ImageInterface apply(ImageInterface $image)`

Applies scheduled transformation to ImageInterface instance Returns processed ImageInterface instance

#### Parameters

ImageInterface | $image |

#### Return Value

ImageInterface |