bmp2h converter for ks0108 GLCD

Submit to reddit

This is a converter I wrote with the graphics library for the PIC16F microcontrollers. Others work but this one works for sure.

If you want to see the source code (I’m not particulary proud of it 🙂 )  drop a comment and I’ll send it to you.

If the bitmap is smaller than 128×64 it will be left as is, if not it will be resized proportionally to 128×64.


You can set the name you want your variable to have and you can also set if you want the picture inverted or not. Depending on your lcd colors you might want to invert the result.

You can download the converter here: glcd_convert.

  • barman amit kumar


    congrats for your work. Kindly send me the code. I too want to learn about it

  • Hi,thanks, is the only converter that works for me, I make a port te library of radzio in a MCF51QE128 of freescale, best regards

  • Kha Boss

    Notice that this can convert 16-bit bitmap only, can’t overcome the higher :). Tks  your simply perfect tool ^^