Bitmap does not display correct

I am trying to display a logo on a ssd1306 based Oled-display.
But all I get is white display with some black pixels but no logo
I have treid GIMP and LCDassistant to create a hex-bitmap.
This is the code:

/*
  Bitmap.ino
  Show simple bitmap
*/
#include "U8glib.h"

U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_NO_ACK|U8G_I2C_OPT_FAST);	// Fast I2C / TWI 

//------------------------------------------------------------------------------
// File generated by LCD Assistant
// http://en.radzio.dxp.pl/bitmap_converter/
//------------------------------------------------------------------------------

#define LOGOdef_width 78
#define LOGOdef_height 64
static unsigned char LOGOdef[] U8G_PROGMEM = {
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0x3f, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0x07, 0xf0, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x01, 0xe0, 0xff, 0x3f, 0xff, 0xff, 0x7f, 0x00, 0xfe, 0x7f, 0x00, 0x80,
   0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0xfc, 0x1f, 0x00, 0x00, 0xff, 0x3f,
   0xff, 0xff, 0x3f, 0x01, 0xf8, 0x07, 0x00, 0x00, 0xfe, 0x3f, 0xff, 0xff,
   0x3f, 0x00, 0xf0, 0x01, 0x40, 0x00, 0xfc, 0x3f, 0xff, 0xff, 0x3f, 0x00,
   0xe0, 0x01, 0x10, 0x00, 0xfe, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0xc0, 0x03,
   0x00, 0x80, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x80, 0x00, 0x00, 0xc0,
   0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x8c, 0x00, 0xf0, 0xff, 0x3f,
   0xff, 0xff, 0x3f, 0x00, 0x00, 0x3e, 0x00, 0xfc, 0xff, 0x3f, 0xff, 0xff,
   0x3f, 0x00, 0x00, 0x3e, 0x00, 0xfe, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00,
   0x00, 0x7e, 0x80, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x00, 0xf0,
   0xc0, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x60, 0xf0, 0xff,
   0xff, 0x3f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x3f,
   0xff, 0xff, 0xdf, 0x01, 0x00, 0x80, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff,
   0x87, 0x01, 0x00, 0x00, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x01, 0x24,
   0x00, 0x00, 0xfe, 0xff, 0xff, 0x3f, 0xff, 0x7f, 0x00, 0x0e, 0x00, 0x00,
   0xfc, 0xff, 0xff, 0x3f, 0xff, 0x1f, 0x00, 0x1e, 0x00, 0x00, 0xf8, 0xff,
   0xff, 0x3f, 0xff, 0x0f, 0x00, 0xfe, 0x00, 0x00, 0xf0, 0xff, 0xff, 0x3f,
   0xff, 0x01, 0x00, 0xf8, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x3f, 0x7f, 0x00,
   0x00, 0x78, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x3f, 0x1f, 0x00, 0x00, 0x30,
   0x00, 0x00, 0xd4, 0xff, 0xff, 0x3f, 0x07, 0x00, 0x00, 0x00, 0x01, 0x00,
   0x90, 0xff, 0xff, 0x3f, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0xc0, 0xff,
   0xff, 0x3f, 0x00, 0xc0, 0x00, 0xe0, 0x03, 0x00, 0xc8, 0x0f, 0xfe, 0x3f,
   0x01, 0x00, 0x00, 0xf0, 0x07, 0x00, 0xc0, 0x01, 0xf8, 0x3f, 0x01, 0x04,
   0x00, 0xfc, 0x0f, 0x88, 0x60, 0x00, 0xf0, 0x3f, 0x03, 0x00, 0x00, 0xff,
   0x1f, 0x00, 0x00, 0xc0, 0xf7, 0x3f, 0x83, 0x00, 0x80, 0xff, 0x3f, 0x04,
   0x00, 0xe0, 0xf7, 0x3f, 0x07, 0x00, 0xe0, 0xff, 0x7f, 0x20, 0x00, 0xcc,
   0xf7, 0x3f, 0x0f, 0x00, 0xf8, 0xff, 0x7f, 0x04, 0x00, 0xcf, 0xf3, 0x3f,
   0x0f, 0x00, 0xfe, 0xff, 0xff, 0x04, 0x80, 0xcf, 0xfb, 0x3f, 0x1f, 0x00,
   0xff, 0xff, 0xff, 0x43, 0x80, 0xcf, 0xf9, 0x3f, 0x1f, 0xc0, 0xff, 0xff,
   0xff, 0x7f, 0x20, 0xcf, 0xfd, 0x3f, 0x3f, 0xf0, 0xff, 0xff, 0xff, 0x3f,
   0x80, 0xcf, 0xfc, 0x3f, 0x7f, 0xf8, 0xff, 0xff, 0xff, 0x3f, 0xf8, 0x4f,
   0xfe, 0x3f, 0x7f, 0xfe, 0xff, 0xff, 0xff, 0x1f, 0xfc, 0x4f, 0xff, 0x3f,
   0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xfe, 0x0f, 0xff, 0x3f, 0xff, 0xff,
   0xff, 0xff, 0xff, 0x0f, 0xfc, 0x8f, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x0f, 0xe0, 0xc3, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f,
   0x07, 0xc2, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x7f, 0x80,
   0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0x88, 0xff, 0x3f,
   0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x3f, 0x9e, 0xe7, 0x3e, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xcf, 0x8f, 0xff, 0xe7, 0x0c, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x1f, 0xe0, 0xff, 0xe7, 0x0c, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f,
   0xfa, 0xff, 0x63, 0x0c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x71, 0x0e, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x78, 0x06,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x3c, 0x27, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x27, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0x87, 0x33, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xe1, 0x31, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f,
   0xf0, 0x38, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x7c, 0x3c,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x3e, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xff, 0x0f, 0xc0, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x0f, 0xf0, 0x3f };


void draw(void) {
  // graphic commands to redraw the complete screen should be placed here  
  u8g.drawBitmapP( 0, 0, LOGOdef_width, LOGOdef_height, LOGOdef);
}

void setup(void) {
}

void loop(void) {
  // picture loop
  u8g.firstPage();  
  do {
    draw();
  } while( u8g.nextPage() );
  
  // rebuild the picture after some delay
  delay(1000);
}

As this is my first project using this display so what is wrong here??

Could be hardware. Please post schematics showing all connections, the pin names, the powering of all devices.

All according to: How to get the best out of this forum - Using Arduino / IDE 1.x - Arduino Forum

You almost have it, the image is in XBM format, not bitmap.

void draw(void) {
  // graphic commands to redraw the complete screen should be placed here  
  u8g.drawXBMP( 0, 0, LOGOdef_width, LOGOdef_height, LOGOdef);
}

This is what I get...
img

Should look like this.
The image is in X bitmap format, not regular bitmap, the difference being that the pixels are in reverse order within each byte.

test

Additionally, the drawBitmap() function is a bit different from the drawXBM() function, in that the image width is in bytes for drawBitmap(), while it is in bits for drawXBM().

Sorry to say Itsnt hardware as other textfunctions are working , have the same result on other simular devices

Your code gives this error:```
Compilation error: no matching function for call to U8GLIB_SSD1306_128X64::drawXBMP(int, int, int, int, short unsigned int [320])

Which version of the U8glib library are you using? I have no problems compiling for an UNO with U8glib version 1.19.1, using Arduino IDE versions 1.8.19 and 2.2.1.

'''I have reinstalled the lib:
Downloading U8glib@1.19.1
U8glib@1.19.1
Installing U8glib@1.19.1
Installed U8glib@1.19.1'''
and using the latesd IDE (2.2.1)
I can draw boxes, lines and circles, also draw text but no logo's

Which board are you compiling for? I have no problems here with the code you originally posted, modified with the drawXBMP() function. Only other possibility I can think of is that you have some other library that contains an older version of U8glib, and the compiler is using that instead of the current library.

/*
  Bitmap.ino
  Show simple bitmap
*/
#include "U8glib.h"

U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_NO_ACK|U8G_I2C_OPT_FAST);	// Fast I2C / TWI 

//------------------------------------------------------------------------------
// File generated by LCD Assistant
// http://en.radzio.dxp.pl/bitmap_converter/
//------------------------------------------------------------------------------

#define LOGOdef_width 78
#define LOGOdef_height 64
static unsigned char LOGOdef[] U8G_PROGMEM = {
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0x3f, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0x07, 0xf0, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x01, 0xe0, 0xff, 0x3f, 0xff, 0xff, 0x7f, 0x00, 0xfe, 0x7f, 0x00, 0x80,
   0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0xfc, 0x1f, 0x00, 0x00, 0xff, 0x3f,
   0xff, 0xff, 0x3f, 0x01, 0xf8, 0x07, 0x00, 0x00, 0xfe, 0x3f, 0xff, 0xff,
   0x3f, 0x00, 0xf0, 0x01, 0x40, 0x00, 0xfc, 0x3f, 0xff, 0xff, 0x3f, 0x00,
   0xe0, 0x01, 0x10, 0x00, 0xfe, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0xc0, 0x03,
   0x00, 0x80, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x80, 0x00, 0x00, 0xc0,
   0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x8c, 0x00, 0xf0, 0xff, 0x3f,
   0xff, 0xff, 0x3f, 0x00, 0x00, 0x3e, 0x00, 0xfc, 0xff, 0x3f, 0xff, 0xff,
   0x3f, 0x00, 0x00, 0x3e, 0x00, 0xfe, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00,
   0x00, 0x7e, 0x80, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x00, 0xf0,
   0xc0, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x60, 0xf0, 0xff,
   0xff, 0x3f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x3f,
   0xff, 0xff, 0xdf, 0x01, 0x00, 0x80, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff,
   0x87, 0x01, 0x00, 0x00, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x01, 0x24,
   0x00, 0x00, 0xfe, 0xff, 0xff, 0x3f, 0xff, 0x7f, 0x00, 0x0e, 0x00, 0x00,
   0xfc, 0xff, 0xff, 0x3f, 0xff, 0x1f, 0x00, 0x1e, 0x00, 0x00, 0xf8, 0xff,
   0xff, 0x3f, 0xff, 0x0f, 0x00, 0xfe, 0x00, 0x00, 0xf0, 0xff, 0xff, 0x3f,
   0xff, 0x01, 0x00, 0xf8, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x3f, 0x7f, 0x00,
   0x00, 0x78, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x3f, 0x1f, 0x00, 0x00, 0x30,
   0x00, 0x00, 0xd4, 0xff, 0xff, 0x3f, 0x07, 0x00, 0x00, 0x00, 0x01, 0x00,
   0x90, 0xff, 0xff, 0x3f, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0xc0, 0xff,
   0xff, 0x3f, 0x00, 0xc0, 0x00, 0xe0, 0x03, 0x00, 0xc8, 0x0f, 0xfe, 0x3f,
   0x01, 0x00, 0x00, 0xf0, 0x07, 0x00, 0xc0, 0x01, 0xf8, 0x3f, 0x01, 0x04,
   0x00, 0xfc, 0x0f, 0x88, 0x60, 0x00, 0xf0, 0x3f, 0x03, 0x00, 0x00, 0xff,
   0x1f, 0x00, 0x00, 0xc0, 0xf7, 0x3f, 0x83, 0x00, 0x80, 0xff, 0x3f, 0x04,
   0x00, 0xe0, 0xf7, 0x3f, 0x07, 0x00, 0xe0, 0xff, 0x7f, 0x20, 0x00, 0xcc,
   0xf7, 0x3f, 0x0f, 0x00, 0xf8, 0xff, 0x7f, 0x04, 0x00, 0xcf, 0xf3, 0x3f,
   0x0f, 0x00, 0xfe, 0xff, 0xff, 0x04, 0x80, 0xcf, 0xfb, 0x3f, 0x1f, 0x00,
   0xff, 0xff, 0xff, 0x43, 0x80, 0xcf, 0xf9, 0x3f, 0x1f, 0xc0, 0xff, 0xff,
   0xff, 0x7f, 0x20, 0xcf, 0xfd, 0x3f, 0x3f, 0xf0, 0xff, 0xff, 0xff, 0x3f,
   0x80, 0xcf, 0xfc, 0x3f, 0x7f, 0xf8, 0xff, 0xff, 0xff, 0x3f, 0xf8, 0x4f,
   0xfe, 0x3f, 0x7f, 0xfe, 0xff, 0xff, 0xff, 0x1f, 0xfc, 0x4f, 0xff, 0x3f,
   0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xfe, 0x0f, 0xff, 0x3f, 0xff, 0xff,
   0xff, 0xff, 0xff, 0x0f, 0xfc, 0x8f, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x0f, 0xe0, 0xc3, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f,
   0x07, 0xc2, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x7f, 0x80,
   0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0x88, 0xff, 0x3f,
   0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x3f, 0x9e, 0xe7, 0x3e, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xcf, 0x8f, 0xff, 0xe7, 0x0c, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x1f, 0xe0, 0xff, 0xe7, 0x0c, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f,
   0xfa, 0xff, 0x63, 0x0c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x71, 0x0e, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x78, 0x06,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x3c, 0x27, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x27, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0x87, 0x33, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xe1, 0x31, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f,
   0xf0, 0x38, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x7c, 0x3c,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x3e, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xff, 0x0f, 0xc0, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x0f, 0xf0, 0x3f };


void draw(void) {
  // graphic commands to redraw the complete screen should be placed here  
  u8g.drawXBMP( 0, 0, LOGOdef_width, LOGOdef_height, LOGOdef);
}

void setup(void) {
}

void loop(void) {
  // picture loop
  u8g.firstPage();  
  do {
    draw();
  } while( u8g.nextPage() );
  
  // rebuild the picture after some delay
  delay(1000);
}

THNX your bitmap worked and you used LCDassistent, as I did to.
Is there a tutorial how to get the correct bitmap. Is there als a way to invert the bitmap and I made a small change to center the logo```
void draw(void) {
// graphic commands to redraw the complete screen should be placed here
u8g.drawXBMP( 24, 0, LOGOdef_width, LOGOdef_height, LOGOdef);
}

The board I am using is a simple UNO
![20240204_210804 (003)|281x500](upload://dzaP9CdUfES3XFY4k861jf9Lrv2.jpeg)

That was your bitmap. I copied the code from your original post and only changed drawBitmapP() to drawXBMP().

Now I am feeling myself very stupid as I created two new logo data arrays using LCD assistant and none worked. I dont know what I am doing wrong here. I will attach the code that has now three logo's in it and konly the first one works

/*
  Bitmap.ino
  Show simple bitmap
*/
#include "U8glib.h"

U8GLIB_SSD1306_128X64 u8g(U8G_I2C_OPT_DEV_0|U8G_I2C_OPT_NO_ACK|U8G_I2C_OPT_FAST);	// Fast I2C / TWI 

//------------------------------------------------------------------------------
// File generated by LCD Assistant
// http://en.radzio.dxp.pl/bitmap_converter/
//------------------------------------------------------------------------------

#define LOGOdef_width 78
#define LOGOdef_height 64
static unsigned char LOGOdef[] U8G_PROGMEM = {
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f, 0xfc, 0xff, 0x3f, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0x07, 0xf0, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x01, 0xe0, 0xff, 0x3f, 0xff, 0xff, 0x7f, 0x00, 0xfe, 0x7f, 0x00, 0x80,
   0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0xfc, 0x1f, 0x00, 0x00, 0xff, 0x3f,
   0xff, 0xff, 0x3f, 0x01, 0xf8, 0x07, 0x00, 0x00, 0xfe, 0x3f, 0xff, 0xff,
   0x3f, 0x00, 0xf0, 0x01, 0x40, 0x00, 0xfc, 0x3f, 0xff, 0xff, 0x3f, 0x00,
   0xe0, 0x01, 0x10, 0x00, 0xfe, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0xc0, 0x03,
   0x00, 0x80, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x80, 0x00, 0x00, 0xc0,
   0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x00, 0x8c, 0x00, 0xf0, 0xff, 0x3f,
   0xff, 0xff, 0x3f, 0x00, 0x00, 0x3e, 0x00, 0xfc, 0xff, 0x3f, 0xff, 0xff,
   0x3f, 0x00, 0x00, 0x3e, 0x00, 0xfe, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00,
   0x00, 0x7e, 0x80, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x3f, 0x00, 0x00, 0xf0,
   0xc0, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x7f, 0x00, 0x00, 0x60, 0xf0, 0xff,
   0xff, 0x3f, 0xff, 0xff, 0xff, 0x00, 0x00, 0x00, 0xfe, 0xff, 0xff, 0x3f,
   0xff, 0xff, 0xdf, 0x01, 0x00, 0x80, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff,
   0x87, 0x01, 0x00, 0x00, 0xff, 0xff, 0xff, 0x3f, 0xff, 0xff, 0x01, 0x24,
   0x00, 0x00, 0xfe, 0xff, 0xff, 0x3f, 0xff, 0x7f, 0x00, 0x0e, 0x00, 0x00,
   0xfc, 0xff, 0xff, 0x3f, 0xff, 0x1f, 0x00, 0x1e, 0x00, 0x00, 0xf8, 0xff,
   0xff, 0x3f, 0xff, 0x0f, 0x00, 0xfe, 0x00, 0x00, 0xf0, 0xff, 0xff, 0x3f,
   0xff, 0x01, 0x00, 0xf8, 0x00, 0x00, 0xe0, 0xff, 0xff, 0x3f, 0x7f, 0x00,
   0x00, 0x78, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x3f, 0x1f, 0x00, 0x00, 0x30,
   0x00, 0x00, 0xd4, 0xff, 0xff, 0x3f, 0x07, 0x00, 0x00, 0x00, 0x01, 0x00,
   0x90, 0xff, 0xff, 0x3f, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0xc0, 0xff,
   0xff, 0x3f, 0x00, 0xc0, 0x00, 0xe0, 0x03, 0x00, 0xc8, 0x0f, 0xfe, 0x3f,
   0x01, 0x00, 0x00, 0xf0, 0x07, 0x00, 0xc0, 0x01, 0xf8, 0x3f, 0x01, 0x04,
   0x00, 0xfc, 0x0f, 0x88, 0x60, 0x00, 0xf0, 0x3f, 0x03, 0x00, 0x00, 0xff,
   0x1f, 0x00, 0x00, 0xc0, 0xf7, 0x3f, 0x83, 0x00, 0x80, 0xff, 0x3f, 0x04,
   0x00, 0xe0, 0xf7, 0x3f, 0x07, 0x00, 0xe0, 0xff, 0x7f, 0x20, 0x00, 0xcc,
   0xf7, 0x3f, 0x0f, 0x00, 0xf8, 0xff, 0x7f, 0x04, 0x00, 0xcf, 0xf3, 0x3f,
   0x0f, 0x00, 0xfe, 0xff, 0xff, 0x04, 0x80, 0xcf, 0xfb, 0x3f, 0x1f, 0x00,
   0xff, 0xff, 0xff, 0x43, 0x80, 0xcf, 0xf9, 0x3f, 0x1f, 0xc0, 0xff, 0xff,
   0xff, 0x7f, 0x20, 0xcf, 0xfd, 0x3f, 0x3f, 0xf0, 0xff, 0xff, 0xff, 0x3f,
   0x80, 0xcf, 0xfc, 0x3f, 0x7f, 0xf8, 0xff, 0xff, 0xff, 0x3f, 0xf8, 0x4f,
   0xfe, 0x3f, 0x7f, 0xfe, 0xff, 0xff, 0xff, 0x1f, 0xfc, 0x4f, 0xff, 0x3f,
   0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0xfe, 0x0f, 0xff, 0x3f, 0xff, 0xff,
   0xff, 0xff, 0xff, 0x0f, 0xfc, 0x8f, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x0f, 0xe0, 0xc3, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f,
   0x07, 0xc2, 0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x7f, 0x80,
   0xff, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0xff, 0x88, 0xff, 0x3f,
   0xff, 0xff, 0xff, 0xff, 0xff, 0x8f, 0x3f, 0x9e, 0xe7, 0x3e, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xcf, 0x8f, 0xff, 0xe7, 0x0c, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x1f, 0xe0, 0xff, 0xe7, 0x0c, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f,
   0xfa, 0xff, 0x63, 0x0c, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0x71, 0x0e, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x78, 0x06,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x3c, 0x27, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x27, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0x87, 0x33, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xe1, 0x31, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f,
   0xf0, 0x38, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x7c, 0x3c,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x1f, 0x3e, 0xff, 0xff,
   0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x0f, 0x3f, 0xff, 0xff, 0xff, 0xff,
   0xff, 0xff, 0xff, 0x0f, 0xc0, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
   0xff, 0x0f, 0xf0, 0x3f };

  //------------------------------------------------------------------------------
// File generated by LCD Assistant
// http://en.radzio.dxp.pl/bitmap_converter/
//------------------------------------------------------------------------------

const unsigned char LOGOdef_neg [] U8G_PROGMEM= {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0, 0x60, 0xB0, 0x90, 0xD0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0,
0xE0, 0xC0, 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xC0, 0xC0, 0xE0, 0xE0,
0xF0, 0xE0, 0xD8, 0x98, 0x3C, 0x7C, 0x7E, 0xBF, 0xBF, 0xDE, 0xDC, 0xEC, 0xE0, 0xF0, 0xE0, 0xC0,
0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x31, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0xBF, 0xDF,
0xEF, 0xEF, 0xEF, 0xEE, 0xEC, 0xE8, 0xC8, 0x04, 0x07, 0x07, 0x07, 0x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x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x03, 0x07, 0x3B, 0x79, 0xFD,
0xFE, 0xFE, 0xFF, 0x7F, 0x7F, 0x3F, 0x3F, 0x1F, 0x1F, 0x0C, 0x01, 0x07, 0x03, 0x03, 0x01, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07,
0x0F, 0x17, 0x20, 0x2E, 0x1F, 0x03, 0x1C, 0xDF, 0xFF, 0xFF, 0xFF, 0x7F, 0x7F, 0xBE, 0x6F, 0x0F,
0x07, 0x03, 0x03, 0x03, 0x07, 0xF8, 0x00, 0x00, 0x00, 0x40, 0x30, 0x07, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0xF0, 0xFC, 0x7F, 0x1F, 0x1F, 0x13, 0x10, 0x00, 0x20, 0x20, 0x20, 0x20, 0x80, 0x40,
0x40, 0x70, 0x70, 0xFF, 0x84, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x01, 0x07, 0x00, 0x00, 0x00, 0x00, 0x04, 0x04, 0x00, 0x02, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00,
0x00, 0x40, 0x41, 0x40, 0x60, 0x20, 0x30, 0x1C, 0x07, 0x80, 0xC0, 0x70, 0x1E, 0x00, 0x00, 0xC0,
0x78, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x84,
0x84, 0x84, 0x84, 0xC4, 0x46, 0x42, 0x63, 0x21, 0x30, 0x10, 0x08, 0x0C, 0x03, 0x01, 0x00, 0x00
};

//------------------------------------------------------------------------------
// File generated by LCD Assistant
// http://en.radzio.dxp.pl/bitmap_converter/
//------------------------------------------------------------------------------

const unsigned char SRDlogo [] U8G_PROGMEM = {
0x7F, 0x7F, 0x3F, 0x3F, 0x1F, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x03, 0x01, 0x41, 0x63, 0x73,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x3F, 0x3F, 0x3F,
0x1F, 0x03, 0x01, 0x03, 0x03, 0x03, 0x03, 0x01, 0x01, 0x61, 0x61, 0x73, 0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 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x3F, 0x3F, 0x1F,
0x0F, 0x01, 0x01, 0x01, 0x01, 0x03, 0x01, 0x01, 0x00, 0x20, 0x31, 0x73, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFC, 0xFC, 0xFC, 0xFE, 0xFE, 0xFF, 0xFF, 0xFE, 0xF0, 0xF0, 0xE0, 0xF0, 0x80, 0x80,
0x80, 0x83, 0xC3, 0xF7, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFC, 0xF8, 0xF8,
0xFC, 0xFC, 0xFE, 0xFF, 0xFE, 0xFC, 0xE0, 0xE0, 0xE0, 0x10, 0x00, 0x00, 0x06, 0x87, 0xE7, 0xFF
};

void draw(void) {
  // graphic commands to redraw the complete screen should be placed here  
  u8g.drawXBMP( 24, 0, LOGOdef_width, LOGOdef_height, LOGOdef);
}

void setup(void) {
}

void loop(void) {
  // picture loop
  u8g.firstPage();  
  do {
    draw();
  } while( u8g.nextPage() );
  
  // rebuild the picture after some delay
  delay(1000);
}

I'm not sure what format those images are in, no type of XBM or bitmap shows up properly on my display, regardless of the value of width and height that I've tried.

Plain text as I dont know how to save files in the xbm format from LCDassistant.
The filetype dropdown menu from LCDassistant is blank here.
My OS = WIN11PRO version 22H2

I have never used LCDassistant, so cannot give any advise on how to use it.

What program or utility do you use to create these tables??

I’ve used GIMP (GNU image manipulation program), it has the option under “Save As” to save to an XBM file. Then all you need is to open that file in a text editor to see the C code.

Any graphics program that can save in XBM format will work.

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