Change the default screenshot format

In the Terminal type

defaults write com.apple.screencapture type image_format
#  image_format can be jpg, pdf ,etc
killall SystemUIServer
# to implement the new screenshot format