Пример #1
0
 /**
  * {@inheritdoc}
  */
 protected function doApply(CanvasInterface $canvas)
 {
     $transformation = new Transformation($canvas);
     $transformation->apply(new Brightness(25))->apply(new Contrast(25))->apply(new Colorize(new RGBColor(50, 25, 0)))->overlay($this->getOverlayCanvas('canvas.gd2'), 50);
 }
Пример #2
0
 /**
  * {@inheritdoc}
  */
 protected function doApply(CanvasInterface $canvas)
 {
     $transformation = new Transformation($canvas);
     $transformation->apply(new Brightness(20))->apply(new Contrast(20))->apply(new Colorize(new RGBColor(60, 0, 35)))->apply(new Smooth(10))->overlay($this->getOverlayCanvas('beam.gd2'), 100);
 }
 /**
  * {@inheritdoc}
  */
 protected function doApply(CanvasInterface $canvas)
 {
     $transformation = new Transformation($canvas);
     $transformation->apply(new Grayscale())->apply(new Contrast(-1000));
 }
Пример #4
0
 /**
  * {@inheritdoc}
  */
 protected function doApply(\Jaguar\CanvasInterface $canvas)
 {
     $transformation = new Transformation($canvas);
     $transformation->apply(new Brightness(15))->apply(new Contrast(-15))->overlay($this->getOverlayCanvas('noise.gd2'), 100)->overlay($this->getOverlayCanvas('vignette.gd2'), 100);
 }
Пример #5
0
 /**
  * {@inheritdoc}
  */
 protected function doApply(\Jaguar\CanvasInterface $canvas)
 {
     $tranformation = new Transformation($canvas);
     $tranformation->apply(new Grayscale())->apply(new Contrast(5))->overlay($this->getOverlayCanvas('vignette.gd2'), 30);
 }
Пример #6
0
 /**
  * {@inheritdoc}
  */
 protected function doApply(CanvasInterface $canvas)
 {
     $transformation = new Transformation($canvas);
     $transformation->apply(new Brightness(15))->apply(new Contrast(10))->apply(new Smooth(7))->overlay($this->getOverlayCanvas('scratch.gd2'), 30);
 }
 /**
  * {@inheritdoc}
  */
 protected function doApply(CanvasInterface $canvas)
 {
     $trans = new Transformation($canvas);
     $trans->applyArray(array(new Sketchy(), new BlackAndWhite()));
 }
Пример #8
0
 /**
  * {@inheritdoc}
  */
 protected function doApply(\Jaguar\CanvasInterface $canvas)
 {
     $transformation = new Transformation($canvas);
     $transformation->apply(new Brightness(5))->apply(new Contrast(25))->apply(new Colorize(new RGBColor(0, 45, 65)))->overlay($this->getOverlayCanvas('noise.gd2'), 45)->overlay($this->getOverlayCanvas('vignette.gd2'), 50);
 }