# Choose screenshot format
Choose the screenshots image format.
- Tested on macOS:
- Monterey
- Big Sur
- Catalina
- Mojave
- Parameter type: string
- png
- jpg
- psd
- gif
- tga
- tiff
- bmp
# Set to png
(default value)
The generated image is a png
defaults write com.apple.screencapture "type" -string "png"
# Set to jpg
The generated image is a jpg
defaults write com.apple.screencapture "type" -string "jpg"
# Read current value
defaults read com.apple.screencapture "type"
# Reset to default value
defaults delete com.apple.screencapture "type"