mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-26 01:48:12 +08:00
Replace the 'Luminance' node with a 'Desaturate' node with a better selection of desaturation methods (#4529)
* Remove the 'Threshold' node's luminance calculation dropdown so it always compares the Rec. 601 luma * Find the HSL lightness extremes before encoding and drop a stale luminance TODO
This commit is contained in:
@@ -548,7 +548,8 @@ tagged_value! {
|
||||
// ENUM TYPES
|
||||
// ==========
|
||||
BlendMode(core_types::blending::BlendMode),
|
||||
LuminanceCalculation(raster_nodes::adjustments::LuminanceCalculation),
|
||||
#[serde(alias = "LuminanceCalculation")]
|
||||
DesaturateMethod(raster_nodes::adjustments::DesaturateMethod),
|
||||
QRCodeErrorCorrectionLevel(vector_nodes::generator_nodes::QRCodeErrorCorrectionLevel),
|
||||
XY(graphene_core::extract_xy::XY),
|
||||
StringCapitalization(text_nodes::StringCapitalization),
|
||||
|
||||
Reference in New Issue
Block a user