Example #1
0
 protected function _rotate($degrees)
 {
     extract(parent::_rotate($degrees));
     $image = '"' . $this->image_temp . '"';
     $this->exec('convert', $image . " -background none -virtual-pixel background +distort ScaleRotateTranslate " . $degrees . " +repage " . $image);
     $this->clear_sizes();
 }
Example #2
0
 protected function _rotate($degrees)
 {
     extract(parent::_rotate($degrees));
     $this->imagick->rotateImage($this->create_color('#000', 0), $degrees);
 }