diff options
author | Michael <icarus@dabo.de> | 2012-05-26 11:59:19 +0200 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-05-26 11:59:19 +0200 |
commit | 7b3c02057db47a627b56bdd79f1055ea7f876617 (patch) | |
tree | 8c9b11fa72e544aea721f385b40bff7254e42ed2 /include/Photo.php | |
parent | 6342b3e0bdd5774857a8fca809994f05e0208d25 (diff) | |
parent | f5290a5a107ef2d6c309c4a3205319c9b0d13994 (diff) | |
download | volse-hubzilla-7b3c02057db47a627b56bdd79f1055ea7f876617.tar.gz volse-hubzilla-7b3c02057db47a627b56bdd79f1055ea7f876617.tar.bz2 volse-hubzilla-7b3c02057db47a627b56bdd79f1055ea7f876617.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/Photo.php')
-rw-r--r-- | include/Photo.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Photo.php b/include/Photo.php index 4d02b5c65..fce559999 100644 --- a/include/Photo.php +++ b/include/Photo.php @@ -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) { |