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