如何從 macOS 的視窗截圖中移除陰影

我經常為我的部落格文章或課程截取大量截圖。 我通常使用 cmd-shift-4 來截取整個應用程序視窗,然後按下空格鍵。 就像這樣: macOS 預設會添加一個陰影,使其看起來很漂亮。 如果你想要移除陰影,可以在終端中使用以下命令: defaults write com.apple.screencapture disable-shadow -bool true ; killall SystemUIServer 以下是移除陰影後的同一截圖: 如果想要恢復陰影,可以使用以下命令: defaults write com.apple.screencapture disable-shadow -bool false ; killall SystemUIServer