Jpegdecoder on ESP32 with 3.5 inch parallel display IL9486 issue

Hi, am trying to display some images on spiffs jpeg files using GitHub - Bodmer/JPEGDecoder: A JPEG decoder library, on a ESP32, display am using is 3.5 inch 320x480 ILI9486 controller, trying to run the sample spiffs_jpeg from other libraries folder that came with jpegdecoder library. The image is showing pretty bad, and am not sure how to rectify this, looking for help. Or suggest any other way to display jpeg in this scenario using anything else also ok. Also please suggest an example how to display BMP files from spiffs too with this hardware combination, the SPI displays were out of stock locally and would take at least 2 week from china so had to use parallel display.

for TFT_eSPI am using #include <User_Setups/Setup16_ILI9488_Parallel.h> // Setup file , the test examples for color display worked fine.

Quote the actual library example sketch that you are using.

It will have a name. The library will have a name. The library will have a version number.

Likewise, you should quote the library example sketch that does work.

David.

Hello David, Thanks for the reply,

Library that is used, JpegDecoder 1.8.0, in order to display jpeg from spiffs on a ESP32

The example sketch that is being used is SPIFFS_Jpeg , this is the sketch that produced a bad image on LCD as described.

This above library used TFT_eSPI for the graphics hardware, i guess display driver. This has 1.4.8 version, the example sketch Colour Test, 3D cude, they are working fine and displaying right colors.
The user setup for hardware in this library is selected as ILI9488 parallel as choice, as there was no ILI9486 as option which is right one.

Have you changed the setup file driver defined from ILI9488 to ILI9486?

There is an option for your display.

What i have is a parallel display, and the choice ILI9486 is referring to is SPI mode, i tried once and it did not work, only ILI9488 parallel choice in the file User_Setup_Select.h worked.

I shall try again your suggestion.

Hi, thank you so much, selected the 9486 option and parallel setup of esp32, and it worked, I didn't had the idea , that it can be set in the X profile. all colors are perfect and picture is good.