Help for creating a bit array from a bitmap

I am looking for some help to create a bitmap from an 1-bit bitmap.
So black and white image and then convert it 0-1 array.
The end result should be something like this for a simple smiley

00000
01010
00000
10001
01010
00100

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.