Question: why jpeg is the best?
Answer: A JPEG image can contain up to 16.8 million colors so the number of shades of one color is extremely large. That is why JPEG is so good at handling photographs. JPEG has also a very efficient compression technique that combines high compression degree with minimal quality loss.