Home Reference HScript commands 

imgview2d hscript command

Changes options of a 2D view of a COP image viewer.

Usages

  1. imgview2d [options] view_name [viewport_index]

If viewport_index is specified, only that viewport is affected (1-16). If it is not specified, or 'all' is specified, all viewports are affected.

The imgview command also affects the more global settings of this type of image viewer.

Note

Image viewer names are always of the pattern imgviewN where N = 1,2,3… (e.g. imgview1).

Options

-V on|off

Enable or disable the view.

-L on|off

Turns on/off the labels.

-G on|off

Turns on/off the guides.

-H on|off

Turns on/off the handles.

-P on|off

Turns on/off the previews.

-t on|off

Turn on/off transparency.

-i on|off

Turn on/off background images.

-f

Show the full image.

-c component

Display color channel (0 = red, 1 = green, 2 = blue, 3 = alpha, -1 = all)

-m color_mode

Sets the color correction mode. 0 = to brightness controls, 1 = black/white points.

-b bright contrast shift

Sets the brightness, contrast and bright shift for color correction.

-p black white

Sets the black and white points for color correction.

-s u1 v1 u2 v2

Show a portion of the image represent by the rectangle with lower left corner (u1,v1) and upper right corner (u2,v2) in UV coordinates.

-g gamma

Sets the gamma of the viewport.

-d lutfile

Sets display LUT file to use to color correct the images in the viewport.

Replaced by