ESP32-S3-EYE_LCD_logo

Yuvaraj1867
Posts: 63
Joined: Wed Mar 06, 2019 4:39 am
Contact:

ESP32-S3-EYE_LCD_logo

Postby Yuvaraj1867 » Tue Dec 27, 2022 10:55 am

Hi,

In ESP32-S3-EYE examples logo_en_240x240_Lcd.h files has the values to display Espressif Logo. The logo is displayed in standalone mode in ESP32-S3-EYE LCD.

Header File: https://github.com/espressif/esp-who/bl ... x240_lcd.h

The header file values are changing between 65355 to 0.

  1. static const uint16_t logo_en_240x240_lcd[57600] = {65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, ...8213..53456...65535.....etc};

May I know how to convert a JPEG image to this format? I tried some conversions. The converted value is not 65535, it is 255 or 0XFF.


Best Regards,
Dheeran

ESP_Aurora
Posts: 7
Joined: Tue Nov 02, 2021 7:55 am

Re: ESP32-S3-EYE_LCD_logo

Postby ESP_Aurora » Tue Dec 27, 2022 11:10 am

Hi,
logo_en_240x240_lcd is in rgb565 format. which is required for lcd display.
you should convert jpeg format to rgb565(16bit element) not to rgb888.

Yuvaraj1867
Posts: 63
Joined: Wed Mar 06, 2019 4:39 am
Contact:

Re: ESP32-S3-EYE_LCD_logo

Postby Yuvaraj1867 » Wed Dec 28, 2022 4:46 am

Hi,

Thanks for the information.

May I know how to convert jpeg format to rgb565(16bit element)? Is there any tool required?

ESP_WangYX
Posts: 97
Joined: Mon Jun 28, 2021 12:48 pm

Re: ESP32-S3-EYE_LCD_logo

Postby ESP_WangYX » Fri Dec 30, 2022 8:35 am


Yuvaraj1867
Posts: 63
Joined: Wed Mar 06, 2019 4:39 am
Contact:

Re: ESP32-S3-EYE_LCD_logo

Postby Yuvaraj1867 » Fri Jan 13, 2023 9:40 am

Tried but it is not working. Please check the attached log.
  1. void app_main(void)
  2. {
  3.     img_jpeg_decode_test (0,0);
  4. }
Attachments
LOG.c
test_camera log details for the default image main/pictures/test_inside.jpeg
(33.87 KiB) Downloaded 876 times

Yuvaraj1867
Posts: 63
Joined: Wed Mar 06, 2019 4:39 am
Contact:

Re: ESP32-S3-EYE_LCD_logo

Postby Yuvaraj1867 » Tue Jan 24, 2023 9:13 am

Hi,

Any update?

ESP_WangYX
Posts: 97
Joined: Mon Jun 28, 2021 12:48 pm

Re: ESP32-S3-EYE_LCD_logo

Postby ESP_WangYX » Sun Jan 29, 2023 2:50 am

To refresh a JPEG image to the LCD in RGB565 format, you need to perform JPEG to RGB565 conversion. This conversion is realized through the `bool jpg2rgb565(const uint8_t *src, size_t src_len, uint8_t * out, jpg_scale_t scale);`. You can print or keep the converted data directly so that the converted RGB565 data can be used directly at the next startup.

ESP_WangYX
Posts: 97
Joined: Mon Jun 28, 2021 12:48 pm

Re: ESP32-S3-EYE_LCD_logo

Postby ESP_WangYX » Sun Jan 29, 2023 2:53 am

Of course, you can also provide a JPEG image directly. I will try to test it.

Yuvaraj1867
Posts: 63
Joined: Wed Mar 06, 2019 4:39 am
Contact:

Re: ESP32-S3-EYE_LCD_logo

Postby Yuvaraj1867 » Tue Jan 31, 2023 2:58 pm

Hi,

Please try the attached JPEG image.
Attachments
Cat03.jpg
JPEG to be converted
Cat03.jpg (11.13 KiB) Viewed 25366 times

ESP_WangYX
Posts: 97
Joined: Mon Jun 28, 2021 12:48 pm

Re: ESP32-S3-EYE_LCD_logo

Postby ESP_WangYX » Tue Feb 14, 2023 6:38 am

Here is an example of decoding. Please refer to the example to decode the picture.
Attachments
jpeg_decode.7z
(21.49 KiB) Downloaded 935 times

Who is online

Users browsing this forum: No registered users and 7 guests