Assuming it is screenshots, png is generally best. (Of course, crop to smallest size possible without losing necessary context. I find that scaling the final image tends to look bad, but resizing the target window before taking the screen shot (when possible) can help.)