$file->bw($bw)

Converts the image to grayscale

  • since: Kirby 2.3.0
  • return ($file)

Example

<?= $page->image()->bw()->html() ?>