• 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: Tang-Nano-20K-FPGA-Unboxing ESP32 S3 AI 0.85inch mini tiny Development Board 0.85 inch DeepSeek RGB LED ESP32-C5 Mini Development Board based on ESP32-C5-HF4 dual-core processor X1012 Raspberry Pi 5 POE And PCIe to M.2 NVMe SSD Board Pi5 2280 Power over Ethernet Raspberry Pi Pico 2 RP2350 1.47 inch LCD B Display Development board RP2350A 1.47inch Screen RGB color MP2.5G Raspberry Pi 5 PCIe to 2.5G Ethernet HAT Pi5 RTL8125 Raspberry Pi 3 LCD HAT Raspberry Pi 4/4.3 inch DSI MIPI LCD TouchScreen Display 4/4.3inch 480x800 For Luckfox Lyra RK3506/ESP32-P4/Luckfox Omni3576 ESP32 S3 Development Board 2.8 inch Round LCD Display 480x480 QMI8658 Sensor / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino Raspberry Pi Pico RS485 TO ETH (B) Connect Alibaba Cloud And EMQX spotpear Xiaozhi-AI-video-tutorial-2 ESP32-C6 Geek 1.14inch Development Board with 1.14 inch 65K Color LCD SpotPear ESP32-S3 Relay 6-Channel IOT WiFi Bluetooth RS485 Pico Protection Circuits Raspberry Pi 5 POE + PCIe to M.2 NVMe SSD Board HAT+ Pi5 2242/2230 Power over Ethernet Raspberry Pi Mipi TVOC Sensor gas Sensor Expansion board UART High Sensitivity For Arduino /Raspberry Pi /Pico /ESP32 ESP32-S3 LCD Mini tiny Development Board 0.85 inch Display 0.85inch Screen 128x128 SD-Port For Arduino