mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 06:08:13 +08:00
Add the Extract Opaque node (#1276)
* Add 'Extract Opaqueue Node' * Fix node --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
Keavon Chambers
parent
2887ba2aa4
commit
820a2672b8
+8
@@ -605,6 +605,14 @@ fn static_nodes() -> Vec<DocumentNodeType> {
|
||||
outputs: vec![DocumentOutputType::new("Image", FrontendGraphDataType::Raster)],
|
||||
properties: node_properties::no_properties,
|
||||
},
|
||||
DocumentNodeType {
|
||||
name: "Extract Opaque",
|
||||
category: "Image Adjustments",
|
||||
identifier: NodeImplementation::proto("graphene_core::raster::ExtractOpaqueNode<>"),
|
||||
inputs: vec![DocumentInputType::value("Image", TaggedValue::ImageFrame(ImageFrame::empty()), true)],
|
||||
outputs: vec![DocumentOutputType::new("Image", FrontendGraphDataType::Raster)],
|
||||
properties: node_properties::no_properties,
|
||||
},
|
||||
DocumentNodeType {
|
||||
name: "Split Channels",
|
||||
category: "Image Adjustments",
|
||||
|
||||
Reference in New Issue
Block a user