/** * {@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); }
/** * {@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)); }
/** * {@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); }
/** * {@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); }
/** * {@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())); }
/** * {@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); }