Using the spitftbitmap example the bmp is not recognized as valid. I was saving with Photoshop in 16, 24 and 32 bit, for 16 bit i'm getting following error message
Loading image 'parrot.bmp'
File size: 41016
Image Offset: 54
Header size: 40
Bit Depth: 16
BMP format not recognized.
Initializing SD card...OK!
Loading image 'parrot.bmp'
File size: 41016
Image Offset: 54
Header size: 40
Bit Depth: 16
BMP format not recognized.
Displaying Bitmap on 1.8" TFT Display
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- ardutoni
- Posts: 9
- Joined: Sat Dec 13, 2014 7:38 am
Re: Displaying Bitmap on 1.8" TFT Display
now, using the parrot.bmp from the tutorial was successful
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Displaying Bitmap on 1.8" TFT Display
The images that didn't work are 16-bit BMP files.
The code for the TFT only knows how to read 24-bit BMP files.
The code for the TFT only knows how to read 24-bit BMP files.
- killercatfish
- Posts: 20
- Joined: Sun Feb 22, 2015 9:04 am
Re: Displaying Bitmap on 1.8" TFT Display
Any suggestions for converting to 24-bit BMP? I have cropped to 128x168 and saved as a BMP in mac preview. But I dont think this is 24-bit since its not displaying on the screen.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Displaying Bitmap on 1.8" TFT Display
That depends on the program you use to create the image. Most programs should have a list of options for saving files.
Please be positive and constructive with your questions and comments.