Skip to content

Commit 31d4743

Browse files
committed
Added wording that requires conversion to linear color space befor composing operation. This resolves #37. Also, I'm confident that premultiplied alpha is sufficiently and correctly specified. Resolves #38.
1 parent a7d2b92 commit 31d4743

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/surface.tex

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@
132132
\\
133133
\end{libreqtab2}
134134

135+
\pnum
136+
All composing operations shall happen in a linear color space, regardless of the color space of the graphics data that is involved.
137+
138+
\pnum
139+
\begin{note}
140+
While a color space such as sRGB helps produce expected, consistent results when graphics data are viewed by people, composing operations only produce expected results when the channel data in the graphics data involved are uniformly (i.e. linearly) spaced.
141+
\end{note}
142+
135143
\rSec2 [\iotwod.surface.rendering.brushes] {Rendering and composing brushes}
136144

137145
\pnum

0 commit comments

Comments
 (0)