Bitmap colours are not mapping corectly

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Bitmap colours are not mapping corectly

Post by unawoo »

I too have colour issues with all the bitmaps on my clue. Often it makes the programs unusable.
I tried both uf2's and libraries, also unplugged the screen and back, the problem remains.
Hope someone figures this one out.

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

DSC_0161.JPG
DSC_0161.JPG (129.04 KiB) Viewed 325 times
Here is a photo of my clue running the arcada imageloader with Carter's testcard bmp:

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

hi carter,
i read this post today
viewtopic.php?f=19&t=163189
it details exactly what i have been experiencing and trying.
could the problem be with the programming of the video chip?
anything you want me to try?

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

clue.JPG
clue.JPG (110.48 KiB) Viewed 300 times
And here is a photo of the broken egg demo
The program works just fine but both egg bitmaps are rendered as white.
This situation is very frustrating as most clue programs use bitmaps in some form, I want to use then in mine, but cant because the bitmaps are not correctly rendered.
If a software fix cannot be found please replace my clue, I'll gladly send my one back for testing.
Than you.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bitmap colours are not mapping corectly

Post by adafruit_support_carter »

What happens if you run the color test UF2 from here?
viewtopic.php?f=19&t=163189#p802975

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

I get all the colours as the photo, nothing wrong here.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bitmap colours are not mapping corectly

Post by adafruit_support_carter »

OK, and then if you try via CP same as here?
viewtopic.php?f=19&t=163189&start=15#p803339

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

circuit python gives me the same result as the uf2

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bitmap colours are not mapping corectly

Post by adafruit_support_carter »

Can you attach the .bmp file you are using above. I'll run it here and see what happens.

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

What .bmp files do you mean?

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bitmap colours are not mapping corectly

Post by adafruit_support_carter »

The "testcard bmp" from above.

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

I tried the file upload but it tells me that the extension bmp is not allowed.
The bmp I'm using is the adafruit-testcard-a-240x240.bmp.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bitmap colours are not mapping corectly

Post by adafruit_support_carter »

Hmm. Yah, might be one of the blocked extension. Could just change .bmp to something else.

But...let's try the other way. With the egg drop BMPs. You are getting those from here?
https://learn.adafruit.com/egg-drop-clu ... cuitpython

Describe how you are downloading them and copying them to the CLUE.

User avatar
unawoo
 
Posts: 114
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

Post by unawoo »

I copied the project zip, unzipped it then copied the bmp's to my clue folder by dragging them there.
When I click on them they show on my pc pic viewer, they are there in good form.

User avatar
adafruit_support_carter
 
Posts: 29168
Joined: Tue Nov 29, 2016 2:45 pm

Re: Bitmap colours are not mapping corectly

Post by adafruit_support_carter »

What OS are you running on the PC?

Locked
Please be positive and constructive with your questions and comments.

Return to “CLUE Board”