You can also use Preview. It has a screenshot function that let you take also just a window or even a selected area.