photo rotation
This commit is contained in:
@@ -87,6 +87,12 @@ class Photo {
|
||||
|
||||
}
|
||||
|
||||
public function rotate($degrees) {
|
||||
$this->image = imagerotate($this->image,$degrees,0);
|
||||
$this->width = imagesx($this->image);
|
||||
$this->height = imagesy($this->image);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public function scaleImageUp($min) {
|
||||
|
||||
Reference in New Issue
Block a user