Stay up to date with notifications from The Independent

Notifications can be managed in browser preferences.

Network: A to Z of the digital world

Charles Arthur
Sunday 07 April 1996 23:02 BST
Comments

J is for JPEG. This (pronounced jay-peg) is a standard for the compression and storage of digital images. The letters stand for Joint Photographic Experts Group, a committee whose members are now forgotten since their work in the mid-Eighties. JPEG files are good for storing natural scenes (such as photos or artwork) but less good at lettering or cartoons, where the older GIF (Graphics Interchange Format) standard is more effective.

JPEG is widely used on the Net because you can store the same picture in a smaller file than with GIFs: what might start as a full-colour file taking up 2Mb can be squeezed down into 100Kb of JPEG with no noticeable loss of quality; the GIF version would probably take 500Kb. Also, JPEG stores colour information using 24 bits per pixel (or picture element - the smallest part of the digital image), allowing it to capture 16 million colours. GIF uses 8 bits per pixel, which limits it to 256 colours. Most PCs can't display more than 256 colours anyway, so the advantage - at least in visual terms - is lost. But when you are choosing between GIF or JPEG versions of pictures of the planets stored at Nasa's Web site, for example, the JPEG versions will take less time to download and less room on your hard disk.

GIF does have the edge over JPEG in efficiently storing images with only a few distinct colours and is faster to decompress from the stored file. But it's a small penalty with today's powerful machines. So if you want to be popular when you post pictures on the Web or to newsgroups, offer them in JPEG.

Join our commenting forum

Join thought-provoking conversations, follow other Independent readers and see their replies

Comments

Thank you for registering

Please refresh the page or navigate to another page on the site to be automatically logged inPlease refresh your browser to be logged in