Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: jpg prepare failed. #162

Closed
Nomte opened this issue May 1, 2024 · 1 comment
Closed

RuntimeError: jpg prepare failed. #162

Nomte opened this issue May 1, 2024 · 1 comment

Comments

@Nomte
Copy link

Nomte commented May 1, 2024

Hi! Thank you very much for sharing your work. It is making look my ESP32 projects amazing.

I am trying to run the sample of displaying a jpg on a 135x240px display with a ESP32C3-supermini. When I run the jpg.py or alien.py samples I have the error:

RuntimeError: jpg prepare failed.

I am running the samples with the provided jpgs and also with custom ones (TrueColor). Always same error.

Any thoughts on this?

Thank you!

@Nomte
Copy link
Author

Nomte commented May 9, 2024

My bad. I was uploading the image files to the device in a wrong way. After a proper upload it works great.

In case any other might find it useful, the proper way to upload an image file to the device using Thonny is right click on the local file, then "Upload to /".

Thanks

@Nomte Nomte closed this as completed May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant