Black Lives Matter - Action and Equality.
0

Read bmp image file from sd card
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Read bmp image file from sd card

by MikeB35 on Thu May 14, 2020 4:09 am

adafruit_support_carter wrote:
When I test with an image (006.bmp from the Adafruit site) on 'Circuitpy', I get an error like 'True color BMP unsupported'.

You are getting these from here?
https://learn.adafruit.com/creating-sli ... ctures-4-6

Describe how you are downloading and copying them to your CIRCUITPY folder. It seems like something is altering the image format.


Hi,
Okay, I figured out what the problem was.
There was only one thing I hadn't tested so far, and that was my SD card.
It was working fine on my PC, and I had used it with an 'Adalogger Featherwing' without any problems. So I was not suspicious.
But for images, the amount of data to be transferred is more important. So I put in a good 8GB SD card and class 10 and everything works fine.
Thanks again for all your help, I really appreciated it.
Have a nice day and take care of yourself

MikeB35
 
Posts: 21
Joined: Thu Feb 05, 2015 10:18 am

Re: Read bmp image file from sd card

by adafruit_support_carter on Thu May 14, 2020 10:12 am

Ugh. That's annoying. Good job figuring it out though. Thanks for letting us know. Hopefully it will all just work now. Have fun!

adafruit_support_carter
 
Posts: 15647
Joined: Tue Nov 29, 2016 2:45 pm

Please be positive and constructive with your questions and comments.