Best image formats for web design
Best website image formats:
Jpeg (Joint Photographic Experts Group) retain all color information, but they compress file size by selectively discarding data. This compressions often results in a loss of quality.
The pros of Jpegs are that they are great for photographs, they are great for images with more than 256 colors, and they are great for creating smaller file sizes.
The cons of using Jpegs are that they tend to loose quality and add artifacts in the image from the loss in quality. They don’t support transparency and are also not very good for images that have sharp edges for example text.
GIF (Graphics Interchange Format)
This format is not best for photographs but is great for simple illustrations and small animations. They are far smaller in file size than video files. They support transparency, good for text images but are not good for images that support more than 256 colors.
Although smaller than video files the files can still be quite large.
PNG (Portable Network Graphics)
PNG images support transparency, they are small in file size and are also great for images and logos.
They are not so great for large image compared to JPEG and they cannot be animated.