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(); }
protected function _rotate($degrees) { extract(parent::_rotate($degrees)); $degrees = 360 - $degrees; $color = $this->create_color($this->image_data, $this->config['bgcolor'], 1000); $this->image_data = imagerotate($this->image_data, $degrees, $color, false); }
protected function _rotate($degrees) { extract(parent::_rotate($degrees)); $this->imagick->rotateImage($this->create_color('#000', 0), $degrees); }