pimoroni-pico/examples/badger2040/badger2040_image_demo_image...

13 lines
54 KiB
C++
Raw Normal View History

2022-01-27 13:07:58 +00:00
static const uint8_t adam[4736] = {
255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 48, 0, 0, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 48, 0, 1, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 255, 255, 255, 255, 255, 255, 191, 255, 255, 255, 255, 255, 240, 48, 0, 1, 255, 247, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 224, 255, 255, 255, 255, 255, 182, 251, 127, 255, 255, 255, 255, 240, 48, 0, 1, 255, 247, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 237, 219, 255, 255, 255, 255, 255, 255, 240, 48, 0, 3, 255, 231, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 255, 255, 255, 255, 254, 182, 175, 239, 255, 255, 255, 255, 240, 48, 0, 3, 255, 239, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 255, 255, 255, 255, 171, 90, 187, 255, 255, 255, 255, 255, 240, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 254, 0, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 234, 165, 86, 253, 255, 255, 255, 255, 240, 48, 0, 7, 255, 207, 255, 193, 255, 191, 255, 255, 191, 254, 0, 63, 252, 255, 255, 253, 255, 240, 255, 248, 0, 255, 255, 255, 254, 168, 149, 85, 87, 191, 255, 255, 255, 240, 48, 0, 7, 255, 223, 255, 227, 255, 63, 255, 255, 191, 252, 0, 127, 253, 255, 255, 253, 255, 241, 255, 240, 0, 255, 255, 255, 251, 82, 74, 171, 127, 255, 255, 255, 255, 240, 48, 0, 7, 255, 223, 255, 227, 255, 63, 255, 255, 127, 252, 0, 127, 253, 255, 255, 253, 255, 227, 255, 224, 0, 255, 255, 255, 253, 73, 33, 42, 213, 111, 255, 255, 255, 240, 48, 0, 15, 255, 159, 255, 227, 255, 127, 255, 255, 127, 252, 0, 127, 249, 255, 255, 251, 255, 231, 255, 192, 0, 255, 255, 255, 246, 164, 148, 69, 95, 255, 255, 255, 255, 240, 48, 0, 15, 255, 159, 255, 231, 254, 127, 255, 255, 127, 248, 0, 255, 251, 255, 255, 251, 255, 239, 255, 128, 0, 255, 255, 223, 234, 16, 1, 17, 82, 239, 255, 255, 255, 240, 48, 0, 15, 255, 191, 255, 247, 254, 127, 255, 254, 255, 248, 0, 255, 251, 255, 255, 251, 255, 223, 255, 0, 0, 255, 255, 255, 245, 69, 72, 4, 155, 59, 255, 255, 255, 240, 48, 0, 31, 255, 63, 255, 247, 254, 255, 248, 64, 255, 248, 0, 255, 243, 255, 225, 3, 255, 255, 254, 0, 0, 255, 255, 255, 169, 0, 0, 64, 74, 221, 255, 255, 255, 240, 48, 0, 31, 255, 63, 255, 255, 254, 255, 255, 252, 255, 248, 1, 255, 247, 255, 255, 247, 255, 255, 252, 0, 0, 255, 255, 239, 170, 32, 1, 1, 37, 174, 255, 255, 255, 240, 48, 0, 31, 255, 127, 255, 255, 252, 255, 255, 253, 255, 240, 1, 255, 247, 255, 255, 247, 255, 255, 248, 0, 0, 255, 255, 254, 164, 0, 0, 0, 20, 183, 127, 255, 255, 240, 48, 0, 63, 254, 127, 255, 255, 253, 255, 255, 253, 255, 240, 1, 255, 247, 255, 255, 231, 255, 255, 240, 0, 0, 255, 255, 223, 80, 2, 0, 0, 133, 85, 255, 255, 255, 240, 48, 0, 63, 254, 127, 255, 255, 253, 255, 255, 249, 255, 240, 3, 255, 231, 255, 255, 239, 255, 255, 248, 0, 0, 255, 255, 253, 1, 0, 0, 2, 34, 170,
};
static const uint8_t paul[4736] = {
41, 95, 253, 0, 0, 22, 168, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 247, 255, 255, 64, 0, 47, 254, 165, 127, 84, 128, 0, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 173, 127, 255, 168, 0, 31, 242, 146, 170, 162, 32, 1, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 219, 255, 255, 210, 0, 5, 250, 82, 173, 84, 136, 0, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 238, 255, 255, 232, 34, 23, 105, 73, 118, 168, 34, 7, 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 255, 255, 241, 0, 3, 245, 85, 85, 82, 136, 2, 176, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 239, 255, 255, 248, 0, 10, 186, 82, 173, 72, 32, 155, 240, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 255, 255, 250, 0, 7, 233, 73, 107, 101, 4, 47, 112, 48, 0, 0, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 245, 255, 255, 253, 8, 5, 125, 37, 93, 80, 161, 93, 240, 48, 0, 1, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 255, 255, 255, 254, 128, 11, 208, 170, 170, 170, 8, 126, 240, 48, 0, 1, 255, 247, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 224, 239, 255, 255, 254, 0, 5, 0, 2, 182, 145, 66, 191, 112, 48, 0, 1, 255, 247, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 192, 255, 255, 255, 255, 160, 0, 0, 0, 85, 72, 17, 123, 240, 48, 0, 3, 255, 231, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 255, 255, 191, 255, 128, 0, 0, 0, 42, 165, 69, 255, 240, 48, 0, 3, 255, 239, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 255, 173, 247, 255, 192, 0, 0, 0, 13, 16, 18, 254, 240, 48, 0, 0, 66, 0, 0, 1, 85, 85, 85, 85, 85, 85, 85, 127, 254, 170, 170, 170, 170, 170, 85, 80, 0, 255, 223, 255, 255, 208, 8, 2, 128, 1, 69, 69, 254, 240, 48, 0, 7, 255, 207, 255, 193, 255, 31, 255, 255, 63, 252, 0, 63, 252, 255, 255, 252, 255, 240, 255, 248, 0, 254, 182, 255, 255, 226, 1, 32, 0, 0, 72, 23, 255, 240, 48, 0, 7, 255, 223, 255, 227, 255, 191, 255, 255, 191, 254, 0, 127, 253, 255, 255, 253, 255, 241, 255, 248, 0, 255, 255, 223, 255, 232, 4, 72, 146, 64, 34, 143, 254, 240, 48, 0, 7, 255, 223, 255, 227, 255, 63, 255, 255, 127, 252, 0, 127, 253, 255, 255, 253, 255, 227, 255, 224, 0, 250, 175, 111, 255, 192, 66, 132, 68, 16, 16, 87, 255, 112, 48, 0, 15, 255, 159, 255, 227, 255, 127, 255, 255, 127, 252, 0, 127, 253, 255, 255, 253, 255, 231, 255, 224, 0, 255, 251, 183, 255, 128, 56, 82, 169, 68, 10, 63, 254, 240, 48, 0, 15, 255, 159, 255, 231, 255, 127, 255, 255, 127, 252, 0, 255, 249, 255, 255, 251, 255, 231, 255, 128, 0, 255, 254, 223, 254, 0, 171, 74, 86, 136, 1, 95, 255, 240, 48, 0, 15, 255, 191, 255, 247, 254, 127, 255, 254, 255, 248, 0, 255, 251, 255, 255, 251, 255, 239, 255, 0, 0, 255, 255, 175, 248, 0, 84, 181, 106, 98, 0, 191, 255, 240, 48, 0, 31, 255, 63, 255, 247, 254, 255, 248, 0, 255, 248, 0, 255, 251, 255, 192, 3, 255, 223, 254, 0, 0, 255, 253, 255, 248, 3, 73, 75, 45, 96, 146, 255, 254, 240, 48, 0, 31, 255, 63, 255, 255, 254, 255, 255, 252, 255, 248, 1, 255, 243, 255, 255, 247, 255, 255, 252, 0, 0, 255, 254, 175, 208, 4, 160, 42, 182, 180, 32, 255, 223, 240, 48, 0, 31, 255, 127, 255, 255, 252, 255, 255, 253, 255, 240, 1, 255, 247, 255, 255, 247, 255, 255, 248, 0, 0, 255, 251, 191, 224, 2, 4, 170, 213, 170, 40, 127, 191, 240, 48, 0, 63, 254, 127, 255, 255, 253, 255, 255, 253, 255, 240, 1, 255, 247, 255, 255, 231, 255, 255, 240, 0, 0, 255, 254, 255, 192, 17, 64, 21, 110, 218, 149, 127, 254, 240, 48, 0, 63, 254, 127, 255, 255, 253, 255, 255, 249, 255, 240, 3, 255, 231, 255, 255, 239, 255, 255, 248, 0, 0, 255, 245, 127, 224, 20, 0, 21, 186, 110, 90, 127, 221, 240, 48, 0, 63, 254, 255, 255, 255, 249, 255, 255, 251, 255, 224, 3, 255, 239, 255, 255, 239
};
static const uint8_t shaun[4736] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 254, 128, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 255, 224, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 255, 255, 252, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 255, 175, 255, 128, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 250, 170, 127, 224, 0, 0, 0, 0, 48, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 218, 170, 175, 240, 0, 0, 0, 0, 48, 0, 0, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 0, 0, 0, 0, 255, 86, 235, 87, 248, 0, 0, 0, 0, 48, 0, 1, 255, 243, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240, 0, 0, 0, 1, 255, 107, 85, 105, 126, 0, 0, 0, 0, 48, 0, 1, 255, 247, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 224, 0, 0, 0, 3, 253, 189, 181, 173, 127, 0, 0, 0, 0, 48, 0, 3, 255, 247, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 192, 0, 0, 0, 7, 245, 75, 122, 181, 95, 128, 0, 0, 0, 48, 0, 3, 255, 231, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 128, 0, 0, 0, 15, 234, 191, 215, 213, 47, 192, 0, 0, 0, 48, 0, 3, 255, 239, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 0, 0, 0, 0, 15, 213, 118, 253, 84, 167, 224, 0, 0, 0, 48, 0, 0, 0, 128, 0, 128, 1, 0, 0, 1, 0, 8, 0, 63, 254, 0, 0, 8, 0, 32, 0, 16, 0, 0, 0, 0, 31, 170, 219, 182, 170, 145, 240, 0, 0, 0, 48, 0, 7, 255, 207, 255, 193, 255, 191, 255, 255, 191, 254, 0, 63, 252, 255, 255, 253, 255, 240, 255, 248, 0, 0, 0, 0, 63, 17, 42, 217, 84, 69, 240, 0, 0, 0, 48, 0, 7, 255, 223, 255, 227, 255, 63, 255, 255, 191, 252, 0, 127, 253, 255, 255, 253, 255, 241, 255, 240, 0, 0, 0, 0, 127, 74, 149, 100, 2, 144, 248, 0, 0, 0, 48, 0, 7, 255, 223, 255, 227, 255, 63, 255, 255, 127, 252, 0, 127, 253, 255, 255, 253, 255, 227, 255, 224, 0, 0, 0, 0, 253, 32, 68, 146, 32, 4, 124, 0, 0, 0, 48, 0, 15, 255, 159, 255, 227, 255, 127, 255, 255, 127, 252, 0, 127, 249, 255, 255, 253, 255, 231, 255, 192, 0, 0, 0, 0, 252, 149, 16, 0, 0, 17, 60, 0, 0, 0, 48, 0, 15, 255, 191, 255, 231, 255, 127, 255, 255, 127, 248, 0, 255, 251, 255, 255, 251, 255, 239, 255, 128, 0, 0, 0, 0, 250, 72, 64, 0, 0, 0, 126, 0, 0, 0, 48, 0, 15, 255, 191, 255, 247, 254, 127, 255, 254, 255, 248, 0, 255, 251, 255, 255, 251, 255, 223, 255, 0, 0, 0, 0, 1, 249, 82, 0, 64, 0, 74, 30, 0, 0, 0, 48, 0, 31, 255, 63, 255, 247, 254, 255, 248, 0, 255, 248, 0, 255, 243, 255, 224, 7, 255, 255, 254, 0, 0, 0, 0, 1, 245, 33, 1, 0, 0, 1, 94, 0, 0, 0, 48, 0, 31, 255, 127, 255, 255, 254, 255, 255, 253, 255, 248, 1, 255, 247, 255, 255, 247, 255, 255, 252, 0, 0, 0, 0, 1, 244, 148, 32, 0, 0, 40, 159, 0, 0, 0, 48, 0, 31, 255, 127, 255, 255, 252, 255, 255, 253, 255, 240, 1, 255, 247, 255, 255, 247, 255, 255, 248, 0, 0, 0, 0, 3, 242, 165, 4, 18, 0, 133, 15, 0, 0, 0, 48, 0, 63, 254, 127, 255, 255, 253, 255, 255, 253, 255, 240, 1, 255, 247, 255, 255, 231, 255, 255, 248, 0, 0, 0, 0, 3, 237, 82, 65, 64, 132, 34, 175, 128, 0, 0, 48, 0, 63, 254, 127, 255, 255, 253, 255, 255, 249, 255, 240, 3, 255, 231, 255, 255, 239, 255, 255, 248, 0, 0, 0, 0, 3, 244, 169, 16, 8, 33, 20, 175, 128, 0, 0, 48, 0, 63, 254, 255, 255, 255, 249, 255, 255, 251, 255, 224, 3, 255, 239, 255, 255, 239, 255, 255, 248, 0, 0, 0, 0, 3, 234, 170, 68, 130, 20, 162, 175, 128, 0, 0, 48, 0, 127, 252, 255, 223, 255, 251, 255, 246, 211, 255, 224, 3, 255, 239, 255, 219, 79, 255, 127, 252, 0, 0, 0, 0, 3, 245, 85, 18, 32, 128, 74, 87, 128, 0, 0, 48, 0, 127, 253, 255, 223, 255, 251, 255, 233, 35, 255, 234, 1
};