mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
docs(adjust): correct Levels and Curves composition order (#2212)
Describe per-channel records before the master to match the compositor fixed in #1929. Clarify the CMYK black channel and the ignored Lab master. Closes #975.
This commit is contained in:
1 parent
6973fe4496
commit
f4bc463ee8
1 file changed
+4
-2
@@ -136,7 +136,8 @@ pub enum Adjustment {
|
||||
contrast: f32,
|
||||
legacy: bool,
|
||||
},
|
||||
/// Composite channel first, then R, G, B (or the channels `space` names).
|
||||
/// R, G, B (or the channels `space` names) first, then the master (composite) record.
|
||||
/// In CMYK this also applies to `black`; in Lab the master is ignored.
|
||||
Levels {
|
||||
master: LevelsChannel,
|
||||
per_channel: [LevelsChannel; 3],
|
||||
@@ -146,7 +147,8 @@ pub enum Adjustment {
|
||||
#[serde(default)]
|
||||
black: LevelsChannel,
|
||||
},
|
||||
/// Master curve then R, G, B curves (or the channels `space` names).
|
||||
/// R, G, B curves (or the channels `space` names) first, then the master (composite) curve.
|
||||
/// In CMYK this also applies to `black`; in Lab the master is ignored.
|
||||
Curves {
|
||||
master: Vec<CurvePoint>,
|
||||
per_channel: [Vec<CurvePoint>; 3],
|
||||
|
||||
Reference in new issue
Block a user