JPEG file format
The JPEG or JPG file format was adopted quite early on the Internet. It's name comes from Joint Photographic Experts Group, the organization that created the format. As evident from the name, JPEG images are used mainly for photographs.
So eventhough you are a beginner you should know that GIFs and JPGs differ in three important ways:
- Color Depth: Gifs can contain only 256 colors while Jpgs can contain millions of colors
- Transparency: The JPG image format does not support transparency and transparent colors. Colors in a Gif image, on the other hand, can be made transparent.
- Animation: Again, JPG images do not support animation while Gif image do. Animated Gifs are simply a set of images (or frames, if you like) played one after the other giving a semblance of animation.
As I mentioned above, the JPG image format is more suited for photographs while the Gif is ideal for line drawings and images with areas of flat color. before we go deeper into this, let me give you a sneak peek.
Below are two images saved in the JPG and GIF file formats. Note the file size difference and the quality.
File size: 6314 bytes
File size: 3777 bytes
File size: 12137 bytes
File size: 1019 bytes
To know more on when to correctly use jpg and gif file formats or how to optimize very well the image display on a web page (Using GIF and JPG in a single image?), please refer to separate articles. You can also take a look at When to use Gifs and When to use JPGs.
Jpgs can be created using any of the standard image editing and manipulation programs available. These software also let you control the compression levels (which we'll discuss very shortly) in Optimizing JPGs.
For the Internet, the resolution of JPGs should be reduced to 72 dpi, since this is the maximum resolution most monitors have. JPEG images usually carry .jpg extension; though rare, you might also come across the .jpeg file extension.
Comments, questions, feedback... whatever!
Page contents: First article of the JPEG (or JPG) section which briefly describes the JPG image format and provides links to other detailed articles on JPG optimziation, JPGs and gifs, progressive jpgs etc.
Recent Blog Posts
- Hotmail Sign In page
- Create a Hotmail account - Instructions
- Create Gmail address
- Download and install Outlook Express
- Get your free Gmail address
- Outlook Express new version
- Create my own email address
- Browers for Windows list
- Get email address
- Color combinations for web sites and pages
- Create Yahoo ID