The keyboard shortcut for taking screenshots of a selected area on Mac OS X is: Cmd-Shift-4. You may press space after the shortcut to capture a window.
To change the image format to PNG:
defaults write com.apple.screencapture type png
To change disable the shadow in the screenshot: defaults write com.apple.screencapture disable-shadow -bool true