Skip to content

ImageMagick::factory()

Creates a new Darkroom instance for the given type/driver

ImageMagick::factory(string $type, array $settings = [ ]): mixed

Parameters

Name Type Default
$type * string
$settings array [ ]

Return type

mixed

Exceptions

Type Description
Exception

Parent class

Kirby\Image\Darkroom\ImageMagick inherited from Kirby\Image\Darkroom