Displaying images from SD on Cardputer causes reboot
-
Re: Problem reading images from sd in cardpuer
I have placed several JPG files on an SD card with the intent of display them on the Cardputer screen as needed. Unfortunately, I have run into a fatal issue where the Cardputer reboots when attempting to display images.
Test:
The same JPG image was placed on both the SD card (1 GB FAT) and the internal flash storage. Displaying the image from internal storage works as expected. Displaying from SD card causes the Cardputer to reboot. This is true for both methods below:Works:
Display.drawImage("/flash/res/img/image.jpg", 0, 0)
image0 = Widgets.Image("/flash/res/img/image.jpg", 0, 0, scale_x=1, scale_y=1)Reboots:
Display.drawImage("/sd/image.jpg", 0, 0)
image0 = Widgets.Image("/sd/image.jpg", 0, 0, scale_x=1, scale_y=1)I am able to perform other operations on the SD card, which suggests the interface is working correctly. Looking for any assistance in this matter.
Note:
UiFlow 2.1.5 on Card Computer -
@jasdo8120 drawImage currently only supports paths under the littlefs file system and does not support displaying images in SD.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login