bibliopixel.colors.gamma module

class bibliopixel.colors.gamma.Gamma(gamma=1.0, offset=0, lower_bound=0)[source]

Bases: object

Compute a fixed gamma table with 256 entries.

get(i)[source]
Returns:The gamma table entry
Parameters:i (int) – the index into the table