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