Blend in Linear vs Gamma¶
In this example, we show why we typically want to blend with linear light as opposed to the gamma encoded version.
In [1]:
import brushcue
INPUT_IMAGE = "/home/dito/dev/monorepo/writing/graphics/chapters/numbers/assets/woman_bathing_her_feet_in_a_brook.jpg"
ctx = brushcue.Context()
composition = brushcue.load_composition(INPUT_IMAGE)
bounds = brushcue.composition_bounds(composition)
bounds.execute(ctx).as_bounds2f()
Out[1]:
Bounds(x=0, y=0, width=2877, height=2250)
In [ ]: