0

Small dimension bitmap does not display correctly on TFT
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Small dimension bitmap does not display correctly on TFT

by dbj1906 on Mon Sep 11, 2017 12:10 pm

I am using a TFT featherwing (ID: 3315) with an M0 wifi feather (ID: 3010). I am able to get the purple flowers images to appear using the full_featherwing example.

I have problems when displaying a bitmap of smaller dimensions (like the 100x100 thumbnail of the [url="https://cdn-learn.adafruit.com/assets/assets/000/015/405/thumb100square/adafruit_products_purple.bmp?1395107585"]flower bitmap[/url]).

The image is "scrunched" (for lack of a better word), like so:
IMG_0606.JPG
IMG_0606.JPG (131.25 KiB) Viewed 103 times


Any thoughts? I need to add three or four bitmaps as icons, and I'm not sure how to go about it.

[Note - I performed the same test with an ESP8266 feather, and got the same results. I also reformatted my SD card).

dbj1906
 
Posts: 8
Joined: Sun Apr 09, 2017 10:30 am

Re: Small dimension bitmap does not display correctly on TFT

by dbj1906 on Tue Sep 12, 2017 10:22 pm

I tried the same picture using the "spitftbitmap" example and it worked!

dbj1906
 
Posts: 8
Joined: Sun Apr 09, 2017 10:30 am

Re: Small dimension bitmap does not display correctly on TFT

by edgarlz123 on Sun Nov 05, 2017 10:30 am

I'm having the same problem with the 3.5" featherwing and the M0 wifi (ATWINC1500), did you have any luck? I also tried with the spitftbitmap example and didn't work.

edgarlz123
 
Posts: 2
Joined: Mon Apr 09, 2012 10:12 pm

Re: Small dimension bitmap does not display correctly on TFT

by edgarlz123 on Thu Nov 09, 2017 4:33 am

Just so you can know, I copied the SD functions from the spitftbitmap example of the ILI9341 library and it's now finally working! :D

edgarlz123
 
Posts: 2
Joined: Mon Apr 09, 2012 10:12 pm

Please be positive and constructive with your questions and comments.