Image Pixel Reader Filter

Navigation:  Widget Designer > Nodes > Filter Nodes >

Image Pixel Reader Filter

prev main next

Navigation:  Widget Designer > Nodes > Filter Nodes >

Image Pixel Reader Filter

prev main next

Loading...

The Image Pixel Reader filter node enables you to read out pixel information of a specified image file. It can return red, green, blue and alpha value of a pixel within the image, as well as an average value for the three colors.

This node can be found under Nodes > Filter > Image Pixel Reader

wd_nodes_filter_image-pixel-reader

Node properties

File:

Click the button on the right to browse for an image file. Accepted file formats are BMP, PNG, JPG and TIFF.

X:

Choose an input node from the drop-down or enter a numeric value for the X position of the pixel to be analyzed.

Y:

Choose an input node from the drop-down or enter a numeric value for the Y position of the pixel to be analyzed. Please bear in mind that the pixel count starts with 1/1 in the top left corner.

Node control

With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).

Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).

Node output values

The Node generates the following output:

- Result: "1" if the input point is within the bounding box and "0" if it is outside the bounding box