Use the following command to disable drop shadows in your mac screenshots.
https://gist.github.com/25dd79c09fb3f71cb37621206a0491f5
As a mac user, you should have known the three basic screenshots hot key:
⌘+Shift+3
for capturing the whole screen⌘+Shift+4
for manually dragging an area of interest⌘+Shift+4
, then pressspace
for selecting one active window and capture.
Mac has a built-in feature of rendering a drop shadow to the screenshots by default. This is useful in some cases that you have a white background and would like to add a layer of aesthetics to your screenshots.
![Screenshot 2020-08-12 at 15.38.32](/Users/Kenneth/Downloads/Screenshot 2020-08-12 at 15.38.32.png)
However, sometimes you may find it unnecessary. Say, you are writing some user manuals that want to keep all the photos looks "2D". Or, you have both screen dumps from Mac and Windows and you want to keep the same screencaps format (i.e. without drop shadow).
Turns out you COULD control whether the drop shadow should be added or not!
Open your terminal, then copy this command and hit enter:
https://gist.github.com/5f85decc2a0c700ee13fb525b2c37b32
This command is literally what it is saying: set the disable shadow option to TRUE
. After typing in this command, try to make a window screenshot. You should see the shadows surrounding the window are now gone.
But what if you regret afterwards? Well, just change the value back to false
again:
https://gist.github.com/5e0a153660281fdab7edabd2d7da6598
We have a double negative here: disable the "disable-shadow" option. So, we enable the shadow again. Take a window screenshot and you will see the shadow is enabled again.
https://apple.stackexchange.com/questions/14769/how-does-one-make-screen-captures-with-a-shadow