User guide

Appendix A: Control Protocol IMAGESTAR HD USER GUIDE
Page 82 I460GB issue 4
SetViewport
Function
Adjusts the viewport for the specified source.
NOTE: A minimum viewport of 95% is always applied to video sources to remove
unwanted blanking, etc.
Format SetViewport=<channel>,<horizontal size>,<vertical size>,
<horizontal position>,<vertical position>,0\r
Arguments <channel> is the input channel number:
0 = Input 1 (RGB)
1 = Input 2 (RGB)
2 = Input 3 (VIDEO / S-VIDEO)
3 = Input 4 (VIDEO)
The two <…size> values set the size of the viewport relative to the entire source
frame and are defined as follows:
percentage viewport × 4096 ÷ 100
For example 90% = 90 × 4096 ÷ 100 = 3686.
The two <…position> values are measured in pixels and define the top left corner
of the viewport relative to the input source.
Example SetViewport=3,3686,3686,5,5,0\r
Creates a 90% viewport for input 4 with the top left corner 5 pixels in from the left
of the source and 5 pixel down from the top.