Ardu-imconvert, a desktop image converter for Arduboy/Arduino
22 November 2017
I released what I consider as the final version of my image converter for the Arduboy: ardu-imconvert.
First, for those who don’t know what is the Arduboy, it is a very small video game console based on an arduino 8-bit microcontroller (ATmega 32u4) with the following features:
- Really appealing credit card form factor.
- Constrained hardware for more creativity.
- Open hardware/source low level development.
You can find more information on their website: https://arduboy.com/
In my opinion it misses some features to be a viable video game alternative but as a development platform it’s a very enjoyable piece of hardware.
The image converter
The screen of the Arduboy is black and white and due to space restrictions (32KB Flash) you just can’t work directly on images and need to convert them to data arrays.
That’s why I created ardu-imconvert which focuses on real time display and format of converted data with a set of useful features like:
- Real time data visualization.
- Supports .png and .gif image format.
- Animation preview.
- Simple raw data format display.
- Extracts mask data from alpha.
- Single or multiple source file export (in c/c++ header format).
- Support for RLE Cabi compression mode (compatible with Arduboy2::drawCompressed).
- Support for ArdBitmap compression mode (compatible with ArdBitmap library).
- Simple assets directory browser (allow fast switch between images in the same directory).
- Format data for multiple drawing functions:
- Basic image operations:
- Negative (invert black and white)
- Slice tiling
It is written in C++, uses Qt5 and is released under GPLv3.
just another senior C++ developper
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.