OLED library creator

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am not sure if this is in the right spot or not. Is there a program, tool, app or whatever that allows you to create graphic/images and place them in a library? For example, to create a custom smiley face or similar.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I don't think you've really specified enough about what exactly you're trying to accomplish to get a decent answer.  Are you looking for something to take an image files as input and turn it into some kind of bitmask to pass to an arbitrary display?  Or are you looking for something that generates the sequence of commands to display an image using a specific display controller?  Is color necessary, or is a simple pixel on/off all you're looking for?  Etc...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

A library in Arduino C++ is a compile-able set of source code files.   An image would be data acted upon by this library code.  Sample Arduino code for working with images is found in the the SD library, because image files are too big to be stored anywhere except on an SD chip.   Images have to be in BMP format because the other popular formats such as GIF and JPG compress the image data in order to make smaller files. 

 

The Arduino libraries for TFT displays distort the colors of the BMP image.  In order to fit the color into a single 16-bit word, the 8-bits of Red:Green:Blue are reduced to 5 bits for Red: 6 for Green: and 5 for Blue.  However the reduction has to be non-linear to get a similar color balance as the 24-bit color, and this is not done by the Arduino library for displaying BMP images.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Google arduino bitmap converter

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am wanting to have scrolling images (monochrome) for one of those small 0.96" OLED displays. I know there are some font libraries on the adafruit site. There are also some "GFX" libraries but I am not sure what the contents are yet. I was hoping to create my own custom images and fonts for the display.

 

Thanks Kartman. Doing the search now.