Esempio n. 1
0
 protected function _border($size, $color = null)
 {
     extract(parent::_border($size, $color));
     $image = '"' . $this->image_temp . '"';
     $color = $this->create_color($color, 100);
     $command = $image . ' -compose copy -bordercolor ' . $color . ' -border ' . $size . 'x' . $size . ' ' . $image;
     $this->exec('convert', $command);
     $this->clear_sizes();
 }
Esempio n. 2
0
 protected function _border($size, $color = null)
 {
     extract(parent::_border($size, $color));
     $this->imagick->borderImage($this->create_color($color, 100), $size, $size);
 }