Just rotate image by number of degrees
Usage
// basic usage
$bool = $imageSizerEngine->rotate(int $degrees);
// usage with all arguments
$bool = $imageSizerEngine->rotate(int $degrees, string $dstFilename = '');
Arguments
Name | Type(s) | Description |
---|---|---|
degrees | int | |
dstFilename (optional) | string | Optional destination filename. If not present, source will be overwritten. |
Return value
bool
True on success, false on fail
ImageSizerEngine methods and properties
API reference based on ProcessWire core version 3.0.236