0

Bitmap colours are not mapping corectly
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Bitmap colours are not mapping corectly

by unawoo on Mon Aug 10, 2020 3:21 pm

windows 10 and using XnView Classic as my viewer.

unawoo
 
Posts: 102
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

by adafruit_support_carter on Mon Aug 10, 2020 3:32 pm

This seems like it might be some kind of BMP file corruption. Maybe introduced by Windows and/or XnView doing something.

Can you try starting over with the ZIP from the Learn Guide page. You can open then ZIP and drag the BMP to your Desktop in the normal Windows way, hopefully that process won't alter the file. And then go to a command line to copy the .BMP file from your CLUE board. Don't involve XnView in the process.

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

Re: Bitmap colours are not mapping corectly

by unawoo on Mon Aug 10, 2020 3:41 pm

I have doe that, the only way i use XnView is to view the bmp not copy them.
The egg bmp's on my clue are the same as in the project file, there is no corruption there.

unawoo
 
Posts: 102
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

by adafruit_support_carter on Mon Aug 10, 2020 3:56 pm

Don't even view it with XnView. Close XnView and make sure it's not even running. Go straight from ZIP to CLUE.

"corruption" is probably not the best term. "altered" is better. CircuitPython and the CLUE can only load a specific BMP type. Windows and XnView probably support all known types.

What are you showing for the file sizes of the BMPs in the CIRCUITPY folder?

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

Re: Bitmap colours are not mapping corectly

by unawoo on Mon Aug 10, 2020 4:09 pm

OK, no XnView at all. I used Windows power shell to copy the bitmaps from the project folder to the clue drive, I usually drag and drop them in, and the results are the same. Both egg bitmaps use 113 KB, bit depth 16 240x240.

unawoo
 
Posts: 102
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

by adafruit_support_carter on Mon Aug 10, 2020 4:55 pm

That seems fine. Wow, this is a weird issue. Let's send you another CLUE and see what happens. Please report back here, in this thread, when you get the replacement and let us know how it behaves.

To get the replacement - send an email to support@adafruit.com with a link to this thread and your order number and they can send you a replacement CLUE board.

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

Re: Bitmap colours are not mapping corectly

by unawoo on Mon Aug 10, 2020 5:10 pm

Will do. Please let me know if you find the problem, will keep you updated.

unawoo
 
Posts: 102
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

by adafruit_support_carter on Mon Aug 10, 2020 5:29 pm

We can't recreate this issue. So it will be interesting to see what happens when you get the replacement CLUE.

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

Re: Bitmap colours are not mapping corectly

by kevinjwalters on Mon Aug 10, 2020 5:44 pm

The zip with three 240x240 bmp for the testcard are included as an attachment on viewtopic.php?f=19&t=163189&p=807915#p807883

I did a batch creation a while back of various resolutions: https://github.com/kevinjwalters/mini-p ... uit/images

kevinjwalters
 
Posts: 963
Joined: Sun Oct 01, 2017 3:15 pm

Re: Bitmap colours are not mapping corectly

by margor on Fri Aug 14, 2020 12:42 am

On my new Adafruit Clue I installed CircuitPython 5 with corresponding libraries from learning guide. When I try to use the slideshow example all images locks total boring. Any suggestions?
Attachments
F6B6A529-F485-4402-8ACE-F92EB2363675.jpeg
F6B6A529-F485-4402-8ACE-F92EB2363675.jpeg (964.38 KiB) Viewed 43 times

margor
 
Posts: 5
Joined: Mon Mar 16, 2015 2:55 am

Re: Bitmap colours are not mapping corectly

by adafruit_support_carter on Fri Aug 14, 2020 11:15 am

@margor Please start a new thread for your issue.

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

Re: Bitmap colours are not mapping corectly

by margor on Fri Aug 14, 2020 3:58 pm

@adafruit_support_carter I believe this is the right topic for my device. The egg picture from another previous post locks exactly the same on my device.

Attached another photo from example picture. The Slack picture from Adafruit learning.

Could anybody give a hint or solution for the problem? Defect hardware or a software problem in CircuitPython?
Attachments
E82338E5-92E4-4095-BC75-03ACD1D7B0E3.jpeg
E82338E5-92E4-4095-BC75-03ACD1D7B0E3.jpeg (986.89 KiB) Viewed 38 times

margor
 
Posts: 5
Joined: Mon Mar 16, 2015 2:55 am

Re: Bitmap colours are not mapping corectly

by adafruit_support_carter on Fri Aug 14, 2020 6:57 pm

@margor It may be related, but it's better for us to work each of these separately. It's an odd issue that we haven't fully figured out yet. At this point we don't know if this a hardware or software issue.

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

Re: Bitmap colours are not mapping corectly

by unawoo on Fri Aug 14, 2020 9:17 pm

Hi Carter,
Still didn't get it yet, but I did have to pay a $30.00 charge to DHL, guess adafruit had to pay more.
In the mean time I got the latest OS for my pi3, wiped the memory on the clue and set it up from there.
The results were the same. Found a good way to show the problem is to use the arduino ble image transfer program.
I loaded it up to the clue and a gizmo/express and have many 240x240 bitmaps on my phone. All showed true on the gizmo, all showed varying washouts on the clue.
Will get back when the clue comes.

unawoo
 
Posts: 102
Joined: Thu Apr 14, 2016 9:39 pm

Re: Bitmap colours are not mapping corectly

by kevinjwalters on Mon Aug 17, 2020 11:02 am

@adafruit_support_carter If this is a ST7789V, the data sheets for that mentions an idle mode which has a restricted (8) set of colours. The test card picture shows grey levels between white and black which doesn't match an 8 colour model, but I'm curious if idle mode on has been tested to check the appearance to rule it in/out?

kevinjwalters
 
Posts: 963
Joined: Sun Oct 01, 2017 3:15 pm

Please be positive and constructive with your questions and comments.