How to Use Image2lcd: A Step-by-Step Guide for LCD Image Conversion

In embedded device development, LCD liquid crystal displays are often used. To load image data onto the LCD screen, image conversion processing is required.Image2lcd is a simple and easy-to-use image conversion software that can convert images into machine code consisting only of 0 and 1, commonly used for LCD display image conversion.
Image2lcd is specifically designed for image modeling and supports various image formats such as JPG, BMP, EMF, WBMP, GIF, ICO, etc. It can automatically output the selected image in binary, C language arrays, BMP, WBMP, Sigmate formats. Depending on actual usage needs, parameters such as image scanning mode, output grayscale(color), and output image size can be adjusted.

Let’s discuss the steps to use Image2lcd.

1. Import the image to be converted

How to Use Image2lcd: A Step-by-Step Guide for LCD Image Conversion

2. Adjust the output image features

How to Use Image2lcd: A Step-by-Step Guide for LCD Image Conversion

Interface function options

1. Output data type

Select the output format of the selected image, with five types: binary, C language arrays, BMP, WBMP, Sigmate. In microcontroller systems, it is common to use C language arrays to store and use the font patterns.

2. Scanning mode

A bitmap is composed of individual pixels. Here, choose between horizontal scanning or vertical scanning. The image above the red box is a simple illustration that changes according to different parameter selections to aid understanding. In microcontroller systems, a left-to-right, top-to-bottom scanning method is usually used.

3. Output grayscale

A bitmap is composed of individual pixels. Here, choose the composition method of a pixel. In monochrome mode, a pixel is composed of either black or white, suitable for use on monochrome screens.4Grayscale differs from monochrome, introducing the concept of grayscale, allowing transitions from the darkest black to the brightest white by changing the pixel’s translucency (brightness). Four grayscale means there are four colors from white to black. Color mode introduces different colors of led, with a 16-bit true color mode where a pixel is composed of 5 red leds, 6 green leds, 5 blue leds, allowing 2^16 colors to be displayed.

4. Maximum width and height

This refers to the size of the output image. 180 * 180 means the image consists of 180 * 180 pixels. Note: The output image’s aspect ratio is consistent with the original image. If the original image height is 1:1, the output ratio is also 1:1.

5. Byte order

Switch between big-endian and little-endian byte orders. Big-endian has the low byte first, high byte last. Little-endian is the opposite.

6. Restore default values

Clicking the restore default values button resets the output image adjustment parameters to normal display, with no color inversion, brightness, and contrast as per the input image.

7. Color inversion

If the color inversion checkbox is selected, the output image’s color data will be inverted.

8. Display method

Can be set to normal display, left-right flip, up-down flip, and left-right up-down flip.

9. Brightness

Can drag the brightness slider to adjust the output image’s brightness.

10. Contrast

Drag the contrast slider to adjust the output image’s contrast.

How to Use Image2lcd: A Step-by-Step Guide for LCD Image Conversion

Set the associated menu in the right-click menu of the file explorer: When this item is selected, an option to Image2Lcd will appear in the right-click menu on the image file name in the file explorer. Selecting this option will launch the software to open the image file.Save as(*.c) file and open with Notepad: The output data file can be opened and displayed with Notepad.

How to Use Image2lcd: A Step-by-Step Guide for LCD Image Conversion

This is very convenient for project development, and I share it with you! The materials are referenced from the internet, combined with the project’s usage situation. If there are any infringements, please contact me in time!

Leave a Comment

Your email address will not be published. Required fields are marked *