Skip to content

Kirby 3.9.8

GdLib::factory()

Creates a new Darkroom instance for the given type/driver

GdLib::factory(string $type, array $settings = [ ]): object

Parameters

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

Return type

object

Exceptions

Type Description
Exception

Parent class

Kirby\Image\Darkroom\GdLib inherited from Kirby\Image\Darkroom