Author Topic: Weird issue with colors in my QB64 program.  (Read 2514 times)

0 Members and 1 Guest are viewing this topic.

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Weird issue with colors in my QB64 program.
« on: June 18, 2021, 10:29:38 pm »
My QB64 program displays a screen that looks like this:

     [ You are not allowed to view this attachment ]  

When I run the same program on another computer, the display looks like this:

  [ You are not allowed to view this attachment ]  

Note that in the 2nd screenshot all the colors are darker.

I know for a fact that the issue is not due to a difference in the displays between the 2 systems. If that were the case then the 2 screencaptures should look the same when viewed on the same monitor but as you can see from the above screenshots, this is not the case.

More information:

The program displays only to console output. I'm running the June 14th dev build but it's been happening on many previous builds of QB64 as well.

My initial setup of the screen is done like this:

$Console:Only
_Source _Console
Width 120, 30

I set the colors with simple "color commands like this:
color 14,4
color 15
etc.
« Last Edit: June 18, 2021, 10:38:39 pm by hanness »

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: Weird issue with colors in my QB64 program.
« Reply #1 on: June 18, 2021, 10:31:49 pm »
Had a problem with attached images initially. This has been corrected. Post #1 in this thread should now accurately represent what I see.

« Last Edit: June 18, 2021, 10:40:10 pm by hanness »

Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Weird issue with colors in my QB64 program.
« Reply #2 on: June 19, 2021, 06:43:35 am »
Is it a color calibration issue?  Will adjusting tint/contrast/gamma/ect fix the issue?  AFAIK, there’s no reason why QB64 colors would display any different, if the code is the same, unless it’s some hardware/system setting.
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!

Offline hanness

  • Forum Regular
  • Posts: 210
    • View Profile
Re: Weird issue with colors in my QB64 program.
« Reply #3 on: June 20, 2021, 03:30:22 pm »
The point that I was trying to make was that there is no possible way it could be a color calibration issue (at least to my mind), because the screenshots look different even on the same screen as you see above in my original post.

If it was simply a calibration issue, then both of the screenshots should look equally wrong. However, in this case, you can clearly see that the 2 images have different color information contained within them.



Offline SMcNeill

  • QB64 Developer
  • Forum Resident
  • Posts: 3972
    • View Profile
    • Steve’s QB64 Archive Forum
Re: Weird issue with colors in my QB64 program.
« Reply #4 on: June 20, 2021, 05:13:44 pm »
The point that I was trying to make was that there is no possible way it could be a color calibration issue (at least to my mind), because the screenshots look different even on the same screen as you see above in my original post.

If it was simply a calibration issue, then both of the screenshots should look equally wrong. However, in this case, you can clearly see that the 2 images have different color information contained within them.

I'm still guessing it's a calibration issue.

Open a command window on both computers.  (cmd.exe from the search bar)
Click the icon on the top left of the console.
Go to "Properties"
There's a setting there where you configure your console default colors. 

Check the shade values; I imagine one of them is different than the other.

QB64 just tells the console "use color 1, use color 2, use color 3"...  Windows, and the user, has the option to configure those colors to whatever the heck they want.

  [ You are not allowed to view this attachment ]  
https://github.com/SteveMcNeill/Steve64 — A github collection of all things Steve!