Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 09:15 01 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : With bmp file, grey becomes white on F4 320x240 LCD

Author Message
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 04:10pm 07 Feb 2021
Copy link to clipboard 
Print this post

I downloaded some icons from https://openweathermap.org and cut and pasted them into a single bmp, and downloaded to my F4 to make sprites (blit buffers). When displayed, the grey areas indicating clouds display as white.

I went back to the PC and reduced the color depth to 24 bits in PaintshopPro, saved it and downloaded it, but the clouds still show up white.

What do I need to do to get them to show up as grey? (I've converted to png so I could upload to the forum.)

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1132
Posted: 06:31pm 07 Feb 2021
Copy link to clipboard 
Print this post

Make the gray darker.
Visit Vegipete's *Mite Library for cool programs.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 07:52pm 07 Feb 2021
Copy link to clipboard 
Print this post

  vegipete said  Make the gray darker.

Clearly. The question is how?
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
mclout999
Guru

Joined: 05/07/2020
Location: United States
Posts: 490
Posted: 08:47pm 07 Feb 2021
Copy link to clipboard 
Print this post

  lizby said  
  vegipete said  Make the gray darker.

Clearly. The question is how?


In your paint program of choice load them and flood fill with a different color.  Even windows paint can do it.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 08:56pm 07 Feb 2021
Copy link to clipboard 
Print this post



That has the clouds set to RGB(230,230,230)

Jim
Edited 2021-02-08 06:58 by TassyJim
VK7JH
MMedit
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 11:14pm 07 Feb 2021
Copy link to clipboard 
Print this post

Thank you, Jim. How did you do it? (Teach a man to fish ...)
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 12:17am 08 Feb 2021
Copy link to clipboard 
Print this post

Windows paint
Edit colours to select a suitable colour
Use the fill tool - image of paint pot being poured.
Click in each cloud and the cloud changes to the selected colour.

Paint has an undo feature so it is safe to play around.

I don't bother with the newer versions - they look too kiddified for me.

Jim
VK7JH
MMedit
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 01:22am 08 Feb 2021
Copy link to clipboard 
Print this post

Thanks. I'll try it, rather than just using yours.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 12:48pm 08 Feb 2021
Copy link to clipboard 
Print this post

I also changed the sun to yellow rather than red. Much better. And learned a new technique. Thanks again, Jim.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025