Types of bitmap - a stupid question

All, I have an existing sketch that I use that has a character map in a .h file, and the format of that character map code is as follows

{ B00000000,	B00000000,	B00000000,	B00000000,	B00000000,
B00000000,	B00000000,	B00000000,	B00000000,	B00000000,
B00000000,	B00000011,	B11111111,	B11000000,	B00000000,
B00000000,	B00000111,	B11111111,	B11100000,	B00000000,
B00000000,	B00000111,	B11111111,	B11100000,	B00000000,

I want to change the characters used and have done the bitmaps no problem, but all I can find are programs that code the bitmaps in the following way

0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 
0xff, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x00, 0xff, 0xff, 0xff, 0xf8, 0x00, 0x3f, 0xff, 0xff, 0xe0, 
0x00, 0x0f, 0xff, 0xff, 0xc0, 0x00, 0x07, 0xff, 0xff, 0x80, 0x00, 0x07, 0xff, 0xff, 0x80, 0x38, 
0x03, 0xff, 0xff, 0x01, 0xfe, 0x01, 0xff, 0xff, 0x03, 0xff, 0x01, 0xff, 0xfe, 0x03, 0xff, 0x80,

In the past I have simply used excel to redo the bitmaps, as I simply colour code the digits (0 in light grey, 1 in red) so that I can see the shape of what I am making, but I need to do something a bit more sophisticated

Presumably there must be definitions of the types of bitmap, and in order to know how to find a program to convert my bitmaps I need to know what the first type of bitmap is called

If you are able to point me to the bitmap type, I am sure I can hunt down a suitable converter

Thanks in advance for any help given

Cheers

Your first example uses binary constants and the result is human-readable. It lays horizontal pixels on a single line. A fresh row starts a new line.
The second example use hexadecimal constants. A line probably has no relation to pixels per row.

Both just create C arrays. The compiler does not worry about the format.
The drawBitmap() function must be told the geometry. i.e. width and height.

The pixels are packed left to right in each byte. Each bit represents a pixel msb to lsb

The XBMP format is similar. Except that the pixels are packed right to left in each byte which makes it unreadable even in binary.

More sophisticated “image formats” will contain information like geometry, number of colours, palette, …

David.

Oh, OK, I assumed that they would affect the output - I shall give it a go with the hexadecimal version

Thanks as ever for the help

Les

Just tried it, perfect! Well, as long as you remember to not generate the code in negative! Off to the code generator again.....

Cheers

Les