public static function boost(ImageBuilder $builder)
 {
     $builder->contrast(35)->brightness(20);
 }
示例#2
0
<?php

use imagemanipulation\ImageBuilder;
$ib = new ImageBuilder(new \SplFileInfo(__DIR__ . DIRECTORY_SEPARATOR . 'uglydog.png'));
$ib->contrast(10)->greyscale()->render(70);