QNX screenshot命令

截取屏幕内容输出为图片。

语法:

screenshot [-display=display_id]
           [-file=output_file]
           [-size=widthxheight]

选项:

  -display=display_id

    设置要抓取的display id或连接类型,如果输入整型数字,那么自动认为是display id,如果输入是字符串,自动认为要截取相应连接类型的内容。支持的连接内容为:internal,composite,svideo,YPbPr,rgb,rgbhv,dvi,hdmi。

  -file=output_file

    指定输出路径,默认为screenshot.bmp。

  -size=widthxheight

    指定屏幕大小,默认全屏。

 

posted @ 2020-09-27 20:45  代萌  阅读(2066)  评论(0编辑  收藏  举报