Skip to content

SPIFFS_Jpg.ino example fails to read JPEG on ESP32 #87

@jacob23430434

Description

@jacob23430434

I am trying to use the example code examples/SPIFFS/SPIFFS_Jpg/SPIFFS_Jpg.ino on my ESP32-32 board. However, it fails to read the JPEG file and outputs the following:
Jpeg file not found Width = 0, height = 0
I have checked the SPIFFS directory, and the file seems to exist:
Contents of / (if any): Listing directory: / FILE: /unnc2.jpeg SIZE: 9343
Despite this, the JPEG decoder cannot read the file.
Steps I have tried:
Verified the file exists in SPIFFS.
Confirmed the file size and path are correct.
Question:
Why is the example unable to read the JPEG file? Is there a specific requirement for the file format, naming, or SPIFFS upload procedure that I might be missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions