Skip to content

Kirby 4.0.1


Calculates the dimensions of the final thumb based on the given options and returns a full array with all the final options to be used for the image generator

$imagemagick->preprocess(string $file, array $options = [ ]): array


Name Type Default
$file * string
$options array [ ]

Return type


Parent class

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