I don't really see what it's doing wrong. The image is about the same as my on screen display. As stated above, png will get you better results than a jpg but at the cost of a bigger file size.
Have you tried saving it as a png file?
Make sure you change the invoke download to "test_file.PNG", otherwise it will still save as a jpg.