Skip to content

Image Files

The Alarmo stores images as BMPs, making it relatively straightforward to extract and modify images on the Alarmo.

Overview

Images on the Alarmo are stored as zstd-compressed BMPs with a BITMAPV4HEADER header type. Additionally, each image is flipped horizontally and rotated -90 degrees before being stored.

Example

For example, let's say we have this PNG image we want to display on the Alarmo:

Test

Image as it appears when viewed on the Alarmo


For it to display properly, we must first convert it to a BMP and flip it accordingly.

If ImageMagick is installed on your system, this can be accomplished with the following command:

magick image.png -flop -rotate -90 -type TrueColorAlpha output.bmp

Test

How the image is stored on the Alarmo

(More Coming Soon)

Work in progress

This page is currently under development.

Feel free to follow @KernelEquinox to get notified about site and documentation updates as they happen.