• sales

    +86-0755-88291180

Image extraction User Guide

Image extraction

Introduction

When developing embedded microcontrollers, it is necessary to use LCD/OLED to display an image. The most direct and simple way is to use the corresponding tools to convert the image into corresponding data points (actually a 2D array), and then use the corresponding code to display the array on the LCD/OLED display screen according to a certain timing.

Operation Steps

1. Click to download Image2Lcd tool
2. Double-click to enter the tool interface

3. Open the image to be extracted (taking the image of the 1.47inch LCD Module as an example)

  • Parameter setting
Output data type: C array (*.c)
Scanning mode: Vertical scan
Output grayscale: 16-bit true color
Maximum width and height (depending on the actual aspect ratio of the image): 172x320
Output image adjustment: Default settings are fine, check the box for color inversion if needed
Click 16-bit color: color bits RGB565, color data arrangement RGB


4. Set the parameters and then choose Save

  • The path and name are set by the user
  • The file type is .c
  • After saving, an array will be generated, ctrl+A will select all


  • Copy it to the Image.c file


  • And declare it in Image.h


  • Finally call it in the main function, then map to the screen


Effect Demonstration


TAG: Raspberry Pi 13.3 inch FHD AMOLED 1080P Capacitive TouchScreen Display Type-C/HDMI For Computer PC spotpear STM32 1.54inch OLED ESP32 C6 Development Board 1.28 inch LCD Display Screen 240x240 GC9A01A SD card slot ESP32 Development Board WiFi+Bluetooth Ultra Low Power Dual Core ESP 32S ESP 32 Similar ESP8266 Spotpear Spotpear ESP32-C5 WIFI6 Development Board ESP32-C5-WROOM-1 N16R4/N16R8 Raspberry Pi AI HAT+ Official Original Hailo-8/8L 13/26Tops For Pi5 PCIe M.2 Gen3 Raspberry Pi 5 PD Activation Module USB Camera 2MP GC2093 ‌WDR Backlight Compensation‌ Onboard microphone LCD1602 I2C Module PWM Adjustable backlight 3.3V/5V For Arduino/ Raspberry Pi/ Pico/ Jetson Nano/ ESP32 Luckfox Pico ST7789 Jetson Orin 4G/3G/2G expansion board GNSS GPS SIM7600G-H-M.2 USB IR Infrared Thermal Imaging Camera C 45°/88° 160x120 For Phone/PC High Temp Warning/Take Photo /Recording video Raspberry Pi 3.5 inch LCD G Display Resistive TouchScreen 60fps ST7796 320x480 Also For Arduino/Pico2/ESP32/RP2040/RP2350 HDMI to RGB Mini TOF Time-of-Flight Laser Ranging Radar Sensor Compatible RS485 with Arduino Raspberry Pi ESP32 and Pico RP2040 Industrial Modbus RTU 8 ch Relay Module