What is the difference between a JPEG and GIF file?

Answer:
The two principal image formats on the Internet, both JPG and GIF files are
a way of showing graphics.  Although they have many similarities, the two formats have different strengths and weaknesses, and are typically used in different circumstances.

GIF (Graphics Interchange Format) files are best for compressing parts of images that have large one-color areas.  In addition, GIF files are a good option for online animation, as they are usually cheaper to work with than other animation formats, such as Flash.  GIF files, which can use 256 or fewer colors, are good for many kinds of graphics, but not for photographs

If file size is a concern, GIF files may be made smaller if the color palette is less extensive.  In addition, GIF files can support transparency, which literally makes part of the image transparent, so that other colors, text, images, and patterns can show through.  GIF files are great for basic logos, line drawings or sketches, and simple icons, but not photographs.

JPEG (Joint Photographic Experts Group) files
, on the other hand, are a wonderful format for photographic images, as they can incorporate over 16 million colors.  To save space, JPEG images can have their quality lessened, but this cannot be reversed.  Progressive JPEG files are images that first appear as very poor quality, but gradually increase in quality until they reach the final level.


  more Q&A sessions like this

Trackback(0)
Comments (0)add comment

Write comment
You must be logged in to post a comment. Join for free or Login.

busy