title: reading 4 bit blocks from .bin file
body: <p>I have a .bin file that has pixel data stored in 4 bit format (i.e each pixel is 4 bits). How can I read data into a C program as 4 bits. Char reads it in 8 bit blocks so if I have a pointer to the start of he file and increment it, it skips a pixel.</p>