i'm developping a plugin in which higher image quality means higher sound quality.
though when i'm in mode 32 bits, colors don't behave the same way as in 8 bits or 16 bits.
for example, in 8 bits i have
R = 128;
g = 255;
b = 128;
it will not be the same color as in 32 bits:
R = 0.5;
G = 1;
B = 0.5;
(in 32 bits, is it much brighter)
how come ?
how do i do to use 32 bits mode with the same color scheme as in 8 or 16 bits?
Because 32 bit/channel is floating point, and gamma 1.0.
Your 8 bit values are probably gamma 2.2 (or whatever colorspace you are using).
8 bits and 16 bits images have a gamma 1.0, this is in 32 bits that the gamma is higher.
How do i set gamma = 1 for 32 bits images? I want 8, 16 and 32 bits images behave the same.