Hi all,
I am trying to get to the bottom of the issue failing to display BMP and JPEG file when running ESP32_TFT_Library demo. Switched on the debugging mode and modified the code to display all the files. See the output here. Also found that the make makefs not creating spiffs_image.a in build/spiffs_image folder. I tried by copying it to the folder. However, the outcome remain. Any comments? Apologies for having a duplicate thread, https://github.com/loboris/ESP32_TFT_library/issues/24. Just I think, here is more active.
Display: ILI9341: PORTRAIT 240,320 Color
Clear screen time: 61 ms
Send color buffer time: 229 us (240 pixels)
I (127242) event: station ip lost
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 5: 58 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 4: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 1: 56 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 0: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 5: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 4: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 1: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 0: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 5: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 4: 56 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 1: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 0: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 5: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 4: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 1: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 0: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 5: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 4: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 3: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 2: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 1: 56 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 0: 56 ms
==========================================
Display: ILI9341: LANDSCAPE 320,240 Color
Clear screen time: 57 ms
Send color buffer time: 302 us (320 pixels)
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 5: 59 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 4: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 1: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test1.jpg
JPG time, scale: 0: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 5: 56 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 4: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 1: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test2.jpg
JPG time, scale: 0: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 5: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 4: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 1: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test3.jpg
JPG time, scale: 0: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 5: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 4: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 3: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 2: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 1: 57 ms
File error: Bad file numbers
JPG: filename str /spiffs/images/test4.jpg
JPG time, scale: 0: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 5: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 4: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 3: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 2: 57 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 1: 56 ms
Error: -1 [opening file]
BMP: filename str /spiffs/images/tiger.bmp
BMP time, scale: 0: 57 ms
BMP and JPEG files related errors
Re: BMP and JPEG files related errors
Managed to resolve the issue. Please refer to https://github.com/loboris/ESP32_TFT_library/issues/24.
Who is online
Users browsing this forum: No registered users and 70 guests