Skip to content

Instantly share code, notes, and snippets.

@KHwong12

KHwong12/blog.md Secret

Created August 12, 2020 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KHwong12/889545ee6178bfce93f4f090d9a704a7 to your computer and use it in GitHub Desktop.
Save KHwong12/889545ee6178bfce93f4f090d9a704a7 to your computer and use it in GitHub Desktop.

Enable/Disable Drop Shadow in Mac Screenshots

TL;DR

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 press space 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.

disable-shadow-true

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.

disable-shadow-false

Reference

https://apple.stackexchange.com/questions/14769/how-does-one-make-screen-captures-with-a-shadow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment