Sorry for basic question but i am new to this problem. I search alot but could not succeed.
I have 3x3 char array
when i store them in an image using libtiff library on Linux OS,left most 1 appears on 8th position and second 1 appears on 16th position.
I need them on first 2 positions as they are instead they are on 8th and 16th.
How can i convert the above array to bits from chars so that it appears as it is, when i store in image.
Thanks for help