WatermarkRotate
Rotates the watermark clockwise.
imgproxy: watermark_rotate (alias wmr) · Availability: imgproxy Pro only
use SomehowDigital\ImgProxy\Url;use SomehowDigital\ImgProxy\Option\WatermarkRotate;
$url = Url::create() ->source('https://example.com/image.jpg') ->options(new WatermarkRotate(45));
$url->build();// _/wmr:45/plain/https%3A%2F%2Fexample.com%2Fimage.jpgThe option appears in the URL as wmr:45.
Parameters
Section titled “Parameters”| Parameter | Type | Default | Description |
|---|---|---|---|
$angle |
float |
required | Angle in degrees. |