I have this image that I made in ms paint that is `106x17` and I want to turn the entire bitmap into a number. The image itself is stored as a `.png` and I need a way to read the image and store each pixel as a bit in a `BigInteger`. The way I need the image to be read is fairly specific and a little weird... The image needs to be read in lines from top to bottom going from right to left... so the upper right hand pixel should be the first bit in the number and the bottom left most pixel should be the last bit in the number.

EDIT: I should probably clarify a little bit, Since the file is stored as a `.png` I cant just read it as a number, I will try and export it to a bitmap image right after I post this update. Also I am storing it in a `BigInteger` because the number should be `106x17= 1802` bits long, so the number cannot be passed through an int or long first because it will loose most of the information. And lastly, in this context a black pixel represents a 1 and a white pixel represents a 0... sorry for the strange conventions but that is more or less what I'm working with.