mac screenshot to jpg code example Example: macbook change screenshot to jpg defaults write com.apple.screencapture type jpg;killall SystemUIServer