Skip to content

Kirby 5.1.3

$darkroom->process()

This method must be replaced by the driver to run the actual image processing job.

$darkroom->process(string $file, array $options = [ ]): array

Parameters

Name Type Default
$filerequired string no default value
$options array [ ]

Return type

array

This method modifies the existing $darkroom object it is applied to and returns it again.

Parent class

Kirby\Image\Darkroom