colour_hdri.NodeReadFileMetadataDNG#
- class colour_hdri.NodeReadFileMetadataDNG(*args: Any, **kwargs: Any)[source]#
Return the metadata from the input DNG image.
Methods
process()
Return a new instance of the
colour.utilities.Node
class.- Parameters:
args (Any) – Arguments.
kwargs (Any) – Keywords arguments.
- __init__(*args: Any, **kwargs: Any) None [source]#
- Parameters:
args (Any)
kwargs (Any)
- Return type:
None
Methods
__init__
(*args, **kwargs)add_input_port
(name[, value, description, ...])Add an input port with given name and value to the node.
add_output_port
(name[, value, description, ...])Add an output port with given name and value to the node.
connect
(source_port, target_node, target_port)Connect the given source port to given node target port.
disconnect
(source_port, target_node, target_port)Disconnect the given source port from given node target port.
get_input
(name)Return the value of the input port with given name.
get_output
(name)Return the value of the output port with given name.
is_inner
()Return whether the node is an inner node.
is_leaf
()Return whether the node is a leaf node.
is_root
()Return whether the node is a root node.
log
(message[, verbosity])Log given message using given verbosity level.
process
(**kwargs)Process the node.
remove_input_port
(name)Remove the input port with given name from the node.
remove_output_port
(name)Remove the output port with given name from the node.
render
([tab_level])Render the current node and its children as a string.
set_input
(name, value)Set the value of the input port with given name.
set_output
(name, value)Set the value of the output port with given name.
to_graphviz
()Return a string representation for visualisation of the node with Graphviz.
walk_hierarchy
([ascendants])Return a generator used to walk into
colour.utilities.Node
tree.Attributes
MAPPING_LOGGING_LEVEL_TO_CALLABLE
children
Getter and setter property for the node children.
data
Getter property for the node data.
description
Getter and setter property for the node description.
dirty
Getter and setter property for the node dirty state.
edges
Return the edges of the node.
id
Getter property for the node id.
input_ports
Getter property for the input ports.
leaves
Getter property for the node leaves.
name
Getter and setter property for the name.
output_ports
Getter property for the output ports.
parent
Getter and setter property for the node parent.
root
Getter property for the node tree.
siblings
Getter property for the node siblings.