Skip to content

Kirby 3.5.7.1

GdLib::factory()

Creates a new Darkroom instance for the given type/driver

GdLib::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\GdLib inherited from Kirby\Image\Darkroom