I think i got how is working, you made some mistakes in the calculations
@Louay btw
The first time i was aware this image of the progress bar was "modifyed" in real time by a sprx i thought the sprx was increasing the values of the color channels, i imagined this tests making screenshots to try to find what he sprx does, and i thought the test with an image using full opaque black was going to be the most successful (because you know... if the black is 0x000000 and you add something to it we are going to see the exact value, not much maths needed)
But is the other way around, the sprx is doing a substraction... now while thinking in it it has lot of sense because this is intended to work with images that are originally white/bright... or have a degrade of whites
If you do this "recoloration" with code in a normal image... lets say a photo from a landscape the result is weird
So... this sprx doing color adjustments "on the fly" is intended to work with a base image in white
And this is the reason why the test with 0xFFFFFF is the best
The new formula is... original color - what the sprx substracts = color in the screenshot
Or reordered... original color - color in the screenshot = what the sprx substracts
In other words... for this test you did it seems the sprx substracted 0x1c to the red channel and 0xd0 to the blue channel
0xffffff - 0xe3ff2f = 0x1c00d0
-----------------------------------------------
And this test with an original black image made with 0x000000 it can be seen the sprx doesnt makes a "loop" when it reaches the minimal values
Probably is trying to do the same substraction than the other tests (0x1c00d0 for all ?) but it cant go lower than 0
*The 02 that appears in photoshop in the "color picker" is just garbage added either by the software algorithms, or by the capture card, or the screenshot software or whatever, it seems this trick using screenshots have an error rate or 02 or so, not bad
-------------------------------------------
And btw, as mentioned before im not really sure if the amount substracted by the sprx changes "by month of the year" or "by hour of day", so it seems the results of this tests could vary a lot if you do them in a non-controlled enviroment
But im not sure, i think both you
@LuanTeles and
@Louay are using a custom lines.qrc
Is something like that what is causing you different results