I've seen a lot of examples of how to capture pictures of the screen. But how do i capture only one window, specified by it's handle. Also, how do i turn a bitmap file to a gif or jpg?