I had the same issue today but was able to solve it by uploading the image file to my M5Stack before running.
You can do it by opening the device file manager in UI Flow.
Clicking it will open the console so you can link to your device and then you'll be able to find an icon on the console window helper to open the file manager.
Upload the image to the folder you specified in code (it's not that fast but it works) and then run your project again.