"LCD Assistant" bitmap converter for Mac?

I was wondering if anyone had any knowledge on what I could do to convert .bmp images into a binary or hex array to display an image on my OLED screen. Adafruit recommends using the windows program "LCD assistant" but I use Mac and have not found a program that does what I need.

Does anyone know a Mac program I could use?

I need to make a bitmap array like the one in the Adafruit ssd1305 library example except with my own image:

static const unsigned char PROGMEM logo16_glcd_bmp[] =
{ B00000000, B11000000,
  B00000001, B11000000,
  B00000001, B11000000,
  B00000011, B11100000,
  B11110011, B11100000,
  B11111110, B11111000,
  B01111110, B11111111,
  B00110011, B10011111,
  B00011111, B11111100,
  B00001101, B01110000,
  B00011011, B10100000,
  B00111111, B11100000,
  B00111111, B11110000,
  B01111100, B11110000,
  B01110000, B01110000,
  B00000000, B00110000 };

Thanks!

Try this: http://www.hangar42.nl/index.php/2015/08/09/bitmap-to-array-mac/

Or this: http://forum.allaboutcircuits.com/threads/lcd-creator-for-mac-osx.98440/

Cheers! :wink:

i tried both. the first one was the best and it worked great.

the other one kinda worked but the outlines of the images were a bit wobbly

heres the one that i'd use GitHub - hoiberg/bitmapToC: A simple Mac OS X app that converts .bmp files to C arrays that can be used for example LCD's.