ESP32 + Waveshare 7,5" - Graphic Glitches (LSB / MSB issue?)

I already asked about this on stackexchange a long time ago with no help, and i still have the same issue now (Waveshare Display on ESP32 has weird graphic glitches - Arduino Stack Exchange)

Please check the question out, i really have no idea how i can solve that issue - the only thing that helped was (with a lot of work) MIRRORING the complete Hex Code, but surely that cant be the solution? What even causes this?

Right now, i convert my images to .xbm using magick, then adding the Arduino syntax. This is my example image: #ifndef _GxBitmapExamples_H_#define _GxBitmapExamples_H_#if defined(ESP8266) - Pastebin.com

This is my sketch:

</> #include <GxEPD.h>
#include <GxGDEW075Z09/GxGDEW075Z09.h> // 7.5" b/w/r
#include GxEPD_BitmapExamples
#include <Fonts/FreeMonoBold9pt7b.h>
#include <Fonts/FreeMonoBold12pt7b.h>
#include <Fonts/FreeMonoBold18pt7b.h>
#include <Fonts/FreeMonoBold24pt7b.h>
#include <GxIO/GxIO_SPI/GxIO_SPI.h>
#include <GxIO/GxIO.h>

GxIO_Class io(SPI, /CS=5/ SS, /DC=/ 17, /RST=/ 16); // arbitrary selection of 17, 16
GxEPD_Class display(io, /RST=/ 16, /BUSY=/ 4); // arbitrary selection of (16), 4

void setup()
{
Serial.begin(115200);
Serial.println();
Serial.println("setup");
display.init(115200); // enable diagnostic output on Serial
Serial.println("setup done");
}

void loop()
{
display.drawBitmap(BitmapExample1, sizeof(BitmapExample1));
//display.drawExamplePicture_3C(BitmapExample1, sizeof(BitmapExample1), GxEPD::bm_partial_update);
//display.drawExamplePicture_3C(BitmapExample1, sizeof(BitmapExample1), GxEPD::bm_partial_update);
//delay(2000);
//display.fillScreen(GxEPD_RED);
//display.update();
//delay(2000);
//display.fillScreen(GxEPD_BLACK);
//display.update();
//delay(2000);
//display.fillRect(0, 0, 32, 32, GxEPD_WHITE);
//display.update();

} </>

Please tell me how i can solve this, i really would hate to be forced to do tons of regex and string formating for each image just for this

image.png

You might consider zipping your image and adding it to your post.

attached my example image, though its not really necessary i guess? since the issue is present with any image im testing with - but now i guess you can compare the hex code and the actual image, maybe someone can see what went wrong... i dont know if its something simple like two pins i accidently swapped, or something missing in my sketch, or syntax missing in the .h image file...

LPeschko:
attached my example image, though its not really necessary i guess? since the issue is present with any image im testing with - but now i guess you can compare the hex code and the actual image, maybe someone can see what went wrong... i dont know if its something simple like two pins i accidently swapped, or something missing in my sketch, or syntax missing in the .h image file...

Do you mean the example bitmaps don't work with your display?

Post a link to your display, and the connection board, and the processor board you use.