Skip to content

Kirby 5.0.4

$fileModifications->bw()

Converts the image to black and white

$fileModifications->bw(): Kirby\Cms\FileVersion|Kirby\Cms\File|Kirby\Filesystem\Asset

Return types

Kirby\Cms\FileVersionorKirby\Cms\FileorKirby\Filesystem\Asset

This method modifies the existing $filemodifications object it is applied to and returns it again.

Parent class

Kirby\Cms\FileModifications