How to change the output image format of macOS screenshots
- Published at
- Updated at
- Reading time
Today, I came across this Twitter thread by Corey Ginnivan in which he shared a bunch of tips and tricks about macOS screenshotting. If you want to learn more and see how you can screenshot more productive, you should check it out!
This quick post is only about the fact that you can change the image format of screenshots, though. (so that I won't forget)
Now and then, I want to use a screenshot on a website. MacOS uses
png as default image format, and due to
png's lossless nature and its big file size, it is not always the best option. My flow was then to open the
png and convert it to a
jpg to save some bytes. It was not great!
Corey shared that to change the output format of the macOS screenshot tool to you can run the following command in your terminal.
defaults write com.apple.screencapture type -string "jpg"
According to the tweet, the following formats are supported:
tiff. Awesome! 🎉
- How to run apps in low-resolution on macOS
- Why I don't need to clean up my desktop and downloads folder in macOS
- A terminal script to get notified when macOS changes its appearance (dark/light mode)
- Finding macOS command line settings and options
- My Mac didn't boot after installing a driver, here's how I fixed it.