photo rotation

This commit is contained in:
friendica 2012-05-23 01:01:04 -07:00
parent 8ffb65ceef
commit 61dba985c1
4 changed files with 75 additions and 4 deletions

View file

@ -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) {