Lines Matching refs:run
19 Simply get an Adapter from the Slika factory, run some operations on it and call `save`.
21 Operations can be chained together. Consider the chain to be one command. Do not reuse the adapter returned by `run()`, it is a single use object. All operations can potentially throw a `\splitbrain\slika\Exception`.
23 Options (see below) can be passed as a second parameter to the `run` factory.
34 Slika::run('input.png', $options)
55 Slika::run('input.jpg')->resize(500,500)->save('output.png', 'png');
58 Slika::run('input.jpg')->resize(500,0)->save('output.png', 'png');
61 Slika::run('input.jpg')->resize(0,500)->save('output.png', 'png');
69 Slika::run('input.jpg')->crop(500,500)->save('output.png', 'png');
86 Slika::run('input.jpg')->rotate(Slika::ROTATE_CW)->save('output.png', 'png');
94 Slika::run('input.jpg')->autorotate()->save('output.png', 'png');
99 Options can be passed as associatiave array as the second parameter in `Slika::run`.