Raise exception if the tif image is not monochrome.