Bug Report Custom Colours - RGB Wrong Way Around

Alewater

New Member
Hi,

Firstly, thank you for all your hardwork, OBS is an awesome piece of kit and I sing its praises none stop.

Background
I'm creating a website where I can collect all the information for a stream. I stream volleyball matches from various locations with various bandwidths and sometimes via various platforms (mainly youtube and ustream). I'm creating the website so I make sure I have all the information to hand (you wouldn't believe the amount of times I've missed a small detail ie the team colour). The website then builds my xconfig, profiles and SceneCollection files. On the whole this works well.

OBS stores its custom colours in decimal format in the global.ini file.

Problem
When you convert the decimal into rgb it stores red and blue the wrong way around. OBS must use the wrong procedure both ways (saving and read) as it produces the colour that you select even though the number is wrong

OBS calculates colours as follows
white 255 255 255 =16777215
red 255 0 0 =255
green 0 255 0 =65280
blue 0 0 255 =16711680
black 0 0 0 =0

Thanks
Al
 

HomeWorld

Developer
There's nothing wrong with how obs internally stores colors in config file (RGBA vs BGRA). Just make sure you switch red with blue when you "build" your xconfig.
 

Alewater

New Member
Thanks for the quick reply.

I'd never heard of colours being structured in a BGRA format before, thats my one thing that I've learnt today (plus that I have to remove the leading "-" before the colour decimal).
 
Top