Sul*_*ate 1 macos screenshot coordinates osx-yosemite
当我在 OSX (Yosemite) 中使用 抓取屏幕截图时Cmd + Shift + 4
,我注意到坐标显示在十字准线旁边。现在,我想在相同坐标之间截取一系列准确的屏幕截图。有没有办法根据我们给出的坐标捕获屏幕截图?
是的,screencapture
像这样使用内置程序:
screencapture -R10,10,100,100 file.png
Run Code Online (Sandbox Code Playgroud)
其中 10,10 是左上角的 [x,y] 坐标,100,100 是宽度和高度。
手册页中没有记录它:-(