How to disable shadows in Mac screenshots

In case you are using Command-Shift-4 + Space method of taking screenshots of a certain window, you probably noticed the shadow in the screenshot. If you need to remove shadows for any reason, it can be done without too much hassle.

Here is how you disable shadows in Mac screenshots:

First you will have to launch the Terminal. You can do this by opening Finder -> Applications -> Utilities and clicking on the Terminal icon. Now type in this command (simply copy & paste it):

defaults write com.apple.screencapture disable-shadow -bool true

For the change to take effect, you need to restart your Mac’s UI server by entering the following command:

killall SystemUIServer

The screenshot should look something like this:

Whit shadows without shadows
pix-whit-shadows pix-whitout-shadows

 

If you want your shadows back, follow the same steps as before, just replace “true” with “false”. This means you have to type in the following commands:

 

defaults write com.apple.screencapture disable-shadow -bool false

 

For the change to take effect, restart your Mac’s UI server by typing

 

killall SystemUIServer