Calculating the Size of a Screen Bezel
To calculate the size of a screen bezel in pixels from millimeters, you must multiply the screen width/height in pixels by the bezel size in millimeters, then divide by the screen width/height in millimeters.
For example, given:
- A 2×2 four panel display wall (see Image 1)
- The dimensions of each panel are1100mm x 620mm
- 1100 mm = 1920 pixels and 620mm = 1080 pixels
- The vertical bezel is 17mm and the horizontal bezel is 20
the number of pixels in the vertical bezel area is (1920 x 17) / 1100 = 30 pixels and the number of pixels in the horizontal bezel area is (1080 x 20) / 620 = 35 pixels. Add the width (1920p + 30p + 1920p) to the height (1080p + 35p + 1080p) to get the total bezel-adjusted resolution (3870 x 2195 pixels).
Image 1: Add the bezel area to the wall width and height get the total bezel-adjusted resolution.
Confguring
Configuring a VideoWall with Bezel Compensation
To configure a 1x2 videowall with bezel compensation:
Code Block | ||
---|---|---|
| ||
vm = CreateObject("roVideoMode")
sm = vm.GetScreenModes()
sm[0].video_mode = "1920x1080x60p"
sm[0].transform = "normal"
sm[0].display_x = 0
sm[0].display_y = 0
sm[0].enabled = true
sm[1].video_mode = "1920x1080x60p"
sm[1].transform = "normal"
sm[1].display_x = 0
sm[1].display_y = 1100 'Bezel compensation of 20 pixels
sm[1].enabled = true
sm[2].enabled = "false"
sm[3].enabled = "false"
vm.SetScreenModes(sm) |