#include "testimg.h"
const uint16_t test_img_128x128[][128] = {
{0x0B6B,0x0B63,0x0B6B,0x2B6B,0x2B6B,0x2B6B...............................};
What program was it converted with?
Marwen MaghrebiJuly 19, 2024 - 7:31 am
The image array test_img_128x128 was converted using the LCD Image Converter software. This tool allows you to convert images into arrays suitable for displaying on various LCDs and graphical displays. You can download and learn more about the software at the following link: LCD Image Converter.
mike MillerJanuary 11, 2025 - 5:46 am
Nice job! It's an awesome library!
I'm planning to create some custom fonts for it, but every font creator I’ve used generates 1 byte of data (like 0x08). How can I make it compatible with your library?
Do you recommend any specific tools or applications for this purpose?
Thanks for your cooperation!
Marwen MaghrebiJanuary 11, 2025 - 8:43 am
To create custom fonts compatible with the STM32 and ST7735 display library, you can utilize the Font Rasteriser tool developed by Fun Stack Labs. This tool is specifically designed for embedded projects and can generate font data in a format suitable for your library.
Steps to Create Compatible Fonts:
Access the Font Rasteriser Tool:
Navigate to the Font Rasteriser tool: https://funstacklabs.github.io/font-rasteriser.html
Design and Generate Font Data:
Select your desired font, size, and style within the tool.
The tool will generate the corresponding font data, typically in the form of C arrays, compatible with your STM32 library.
Integrate the Font Data into Your Project:
Copy the generated font data into your fonts.c file.
Ensure that the data structure matches the format expected by your library.
Declare the new font array as an external variable in your fonts.h file to make it accessible throughout your project.
By following these steps, you can create and integrate custom fonts tailored to your application's requirements. The Font Rasteriser tool simplifies the process, ensuring compatibility with your existing STM32 and ST7735 display setup
4 comments