$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 ?>

Is something missing or incorrect? Edit this page on Github…