Alex Calvert Midterm Exam
GIF vs JPEG: Explain the difference between the two most popular image formats in terms of their file size, colors and the way these formats are created. When would you choose a GIF over JPEG? And when would you choose JPEG over GIF?
JPEG and GIF are different popular image formats. One of the primary differences is in the colors used. GIF only uses web-safe colors, making it popular for images that are drawn for websites. JPEG keeps all the original colors, making it popular for photographs and art. A side effect of this is that JPEG images tend to have much larger file sizes than GIF, due to the higher number of colors. GIF is also commonly used for animated images (Images with multiple frames). Another image type that has appeared more recently is PNG, which is considered by some to be the best of the three.