$imageMagick->preprocess()
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
Parameters
Name | Type | Default |
---|---|---|
$filerequired | string |
no default value |
$options | array |
[ ]
|
Return type
array
This method modifies the existing $imagemagick
object it is applied to and returns it again.
Parent class
Kirby\Image\Darkroom\ImageMagick
inherited from Kirby\Image\Darkroom