Accept 1-bit deep images too.