非常有用的xwininfo
输出信息如下:
Absolute upper-left X: 1261
Absolute upper-left Y: 53
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 1252
Height: 2320
Depth: 32
Visual: 0x2d8
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x3e000af (not installed)
Bit Gravity State: NorthWestGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +1261+53 -1327+53 -1327-27 +1261-27
-geometry 1252x2320+1256+0
我的问题:depth
参数是什么?是颜色深度吗?man xwininfo
页面上没有说明。
谢谢你!
是的,
depth
以“每像素位数”表示颜色深度。请参阅手册。