yii\imagine\BaseImage::autorotate PHP 메소드

autorotate() 공개 정적인 메소드

Rotates an image automatically based on EXIF information.
부터: 2.1.0
public static autorotate ( string | resource | Imagine\Image\ImageInterface $image, string $color = '000000' ) : Imagine\Image\ImageInterface
$image string | resource | Imagine\Image\ImageInterface either ImageInterface, resource or a string containing file path
$color string
리턴 Imagine\Image\ImageInterface
    public static function autorotate($image, $color = '000000')
    {
        return (new Autorotate($color))->apply(static::ensureImageInterfaceInstance($image));
    }