Table Of Contents

Replace Image in Browser (G Dataflow)

Last Modified: June 25, 2019

Replaces an image in the browser. The resampling ratio is computed to be as small as possible and the same on both axes. Set only one of the following controls: index in, matrix indexes in, or pixel position in.

This node is not supported on ETS targets or VxWorks targets.

connector_pane_image
datatype_icon

browser image in

RGB image that the browser uses.

datatype_icon

replacement image

Image to place in the browser.

datatype_icon

index in

Position of the image to replace.

datatype_icon

matrix indexes in

Column, line position of the thumbnail to replace.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

pixel position in

x, y pixel position of the image to replace.

datatype_icon

color palette

Color palette applied to the thumbnail image.

Color Palette is an array of clusters constructed by the user or supplied by the Get Color Palette.gvi node. This palette is composed of 256 elements for each of the three color planes (red, green, and blue). A specific color is the result of applying a value between 0 and 255 to each of the three color planes. If the three planes have identical values, a gray level is obtained (0 specifies black and 255 specifies white). The default is a grayscale palette. The color palette can be used only for 8-bit images.

For best results, set your video adapter to high color or true color.

datatype_icon

Red

Value of the red color plane.

datatype_icon

Green

Value of the green color plane.

datatype_icon

Blue

Value of the blue color plane.

datatype_icon

browser image out

Browser image that results from the inputs.

datatype_icon

index

Index of the browser position of the replaced thumbnail.

datatype_icon

matrix indexes out

Column, line position of the replaced thumbnail.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.
datatype_icon

pixel position out

x- and y-coordinates of the topmost-leftmost pixel and bottommost-rightmost pixel of the position of the replaced thumbnail.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics