Page 1 of 2

ESP32-S3-EYE_LCD_logo

Posted: Tue Dec 27, 2022 10:55 am
by Yuvaraj1867
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

Re: ESP32-S3-EYE_LCD_logo

Posted: Tue Dec 27, 2022 11:10 am
by ESP_Aurora
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.

Re: ESP32-S3-EYE_LCD_logo

Posted: Wed Dec 28, 2022 4:46 am
by Yuvaraj1867
Hi,

Thanks for the information.

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

Re: ESP32-S3-EYE_LCD_logo

Posted: Fri Dec 30, 2022 8:35 am
by ESP_WangYX

Re: ESP32-S3-EYE_LCD_logo

Posted: Fri Jan 13, 2023 9:40 am
by Yuvaraj1867
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. }

Re: ESP32-S3-EYE_LCD_logo

Posted: Tue Jan 24, 2023 9:13 am
by Yuvaraj1867
Hi,

Any update?

Re: ESP32-S3-EYE_LCD_logo

Posted: Sun Jan 29, 2023 2:50 am
by ESP_WangYX
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.

Re: ESP32-S3-EYE_LCD_logo

Posted: Sun Jan 29, 2023 2:53 am
by ESP_WangYX
Of course, you can also provide a JPEG image directly. I will try to test it.

Re: ESP32-S3-EYE_LCD_logo

Posted: Tue Jan 31, 2023 2:58 pm
by Yuvaraj1867
Hi,

Please try the attached JPEG image.

Re: ESP32-S3-EYE_LCD_logo

Posted: Tue Feb 14, 2023 6:38 am
by ESP_WangYX
Here is an example of decoding. Please refer to the example to decode the picture.