5cdd09dfa6
CImg is a lightweight, header-only image processing library. The makefile automatically makes a git clone of this library when building. This example shows how to capture a screenshot using the bitmap device, convert it to a CImg bitmap, scale it, add (in a higher resolution than the original screenshot) annotations and write out a PNG file. This is a reduced version of a bigger program, so it might be a bit more complicated that needed just for the example. |
||
---|---|---|
cppsrc | ||
csrc | ||
doc | ||
sys | ||
tools | ||
ChangeLog | ||
LICENSE | ||
README.md |
README.md
U8g2: Library for monochrome displays, version 2
U8g2 is a monochrome graphics library for embedded devices. U8g2 supports controller based (for example SSD1306) monochrome OLEDs and LCDs (See the U8g2/U8x8 setup guide for a complete list of supported display controller). The Arduino library U8g2 can be installed from the library manager of the Arduino IDE. U8g2 also includes U8x8 library:
- U8g2
- Includes all graphics procedures (line/box/circle draw).
- Supports many fonts. (Almost) no restriction on the font height.
- Requires some memory in the microcontroller to render the display.
- U8x8
- Text output only (character) device.
- Only fonts allowed with fixed size per character (8x8 pixel).
- Writes directly to the display. No buffer in the microcontroller required.