Nibnib says 4bpp. The file still has a header.
My tiny nibnib file was larger than the raw RGB image I fed into it. For a 16×16 synthetic gradient, the raw RGB pixels took 768 bytes . The nibnib file took 1,220 bytes . Nothing had gone wrong with the encoder. The file had a palette to carry.