Houdini 20.0 Nodes TOP nodes

Labs Extract Image Metadata 1.1 TOP node

Extracts image metadata, such as the resolution, bit depth, color model, etc.

Since 19.0

This node extracts image metadata from input images that have file/image tags attached to them. It then stores those metadata as workitem attributes.

Tip

You can use a File Pattern node upstream from this node to generate image workitems.

Note

This node calls the utility tool called iinfo which ships with Houdini. It does so with the Python subprocess module.

Parameters

Script

Evaluate Script During

Determines when the script code stored on this node is evaluated.

Cook (Out-of-Process): A scheduler runs the script out-of-process during the cook stage.

Cook (In-Process): Runs the script during the cook stage in the same process as the Houdini session.

Generate: Runs the script when the work item is generating.

Copy Inputs to Outputs

Determines whether or not work items in this node should copy input files to their output file list.

Never: Never copy inputs files the output file list.

Always: Always copy inputs files the output file list.

If Script Doesn’t Add Outputs: By default, input files are only copied if the Python Script does not add any new output files on its own.

Metadata

Store Resolution as Integer Attributes

Splits the original string containing the resolution into two separate integer attributes. (“10 x 5” → 10, 5)

Width Attribute

Name of the integer attribute that stores the width of the image.

Height Attribute

Name of the integer attribute that stores the height of the image.

Store Channel Depth as Integer Attributes

Splits the original string containing the channel depth into two separate integer attributes. (“8 x 4 (32 bpp)” → 8, 4)

Bit Depth Attribute

Name of the integer attribute that stores the per-channel bit depth of the image.

Channel Attribute

Name of the integer attribute that stores the number of channels of the image.

TOP nodes