Which image format to use, how to convert between them, and how to get the best result for web, print and social.