$exif->isBW()

Checks if the image colorspace is grayscale

  • return (boolean)

Example

<?php if($page->image()->exif()->isBW()): ?>
This is a black and white picture
<?php endif ?>