russhughes/st7789_mpy

RuntimeError: jpg prepare failed.

Closed this issue · 1 comments

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!

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