Monday, December 24, 2018

Updated Guide and New Arduino Library: Adafruit_ImageReader

The Adafruit_GFX Graphics Library guide on the Adafruit Learning System gained a new page, describing the new Adafruit_ImageReader Arduino library.

Adafruit_ImageReader loads color .BMP images from SD card to most of our color displays (TFT and color OLED).

We’ve had BMP-loading examples for a long time, but this new library now centralizes all that code. Any bug fixes or new features (like additional image formats), every display will then pick up automatically when you update the library. Previously we had been copying-and-pasting BMP code among different display library examples, and all those different versions diverged over time. We’re going through the examples and eliminating those one by one, replacing with equivalent examples in Adafruit_ImageReader instead.

This can be installed through the Arduino Library Manager. Sketch→Include Library→Manage Libraries…

Read More…

No comments:

Post a Comment