• 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: NVIDIA Jetson Orin Nano/NX PoE Mini Expansion Board Power over Ethernet RJ45 802.3af compliant Computer Desktop Monitor Display ESP32 S3 Development Board 1.64 inch AMOLED Display 1.64inch TouchScreen For Arduino LVGL With SD-Port/ QMI8658C 6-Axis Sensor Core3566002000 Raspberry Pi RP2040 Camera Zero LCD HAT (A) 0.85inch Screen Raspberry Pi 5 inch DSI Display MIPI LCD (C) Capacitive TouchScreen 1024x600 DeepSeek AI Voice Chat ESP32-S3 Box N16R8 AUDIO Board Support External LCD/Camera AI deepseek Raspberry Pi 8 inch DSI LCD Display With 5MP Front Camera MIPI 800×480 Capacitive TouchScreen 14 inch Dual LCD Computer PC Monitor Display Double Secondary Screen Type C Mini HDMI 1080P For Windows/MacOS Raspberry Pi 18.5 inch Type C/HDMI/4K Display Screen 3840×2160 Computer PC Phone Xbox/PS4/Switch Raspberry Pi Auto Focus 12MP IMX708 Camera High Resolution spotpear Cyberpunk LED Matrix Hourglass Gravity Sensor DIY Countdown Timer Clock STEM Educational Soldering Project for Beginners & Adult UART Serial Server 1.54 inch Passive NFC e-Paper BW Display E-ink Screen No Need Battery Wireless Powered & Data Transfer Raspberry Pi PICO Banana Pi TVBOX Kit Luckfox Pico Ultra And 4inch LCD RGB Captive TouchScreen Display