
In many cases electronic publications include images, photographs and maybe some video and sound, too.
Images and photographs can be inserted into inside the actual document (e.g. publications in PostScript or PDF format) or be linked to the document (e.g. publications in HTML or SGML format).
There are dozens of different file formats for images, video and sound. Here are presented only the most common ones.
TIFF format is not very suitable for web publishing with HTML because WWW browsers like Netscape Navigator or Microsoft Internet Explorer can't show images as inline images in the browser window. To be able to view TIFF images from WWW, there has to be external helper application or plug-in installed in the users computer. TIFF file sizes are also usually larger than e.g those for JPEG images.
Most of the image processing programs can open TIFF images, so images can be converted into GIF or JPEG format.
JPEG is suitable for full color or grayscale photographs. JPEG is not very suitable for line art drawings and images with large solid color areas.
JPEG is very commonly used in web publishing with HTML documents, because image file sizes are usually quite small. Almost all image processing programs can open and save JPEG format.
GIF is the most common file format for images in web publishing. GIF format is suitable for saving line art and drawings (e.g. buttons) in bitmap format. GIF format can also be used for photographs if the color depth is not very significant.
There are currently two versions of the GIF format, GIF87a and GIF89a. With GIF89a it is possible to have one color in the image to be transparent which is very useful for logos and buttons. GIF89a images can also be saved with interlace method which allows image to be loaded incrementally on the screen.
PNG is a new format which is supposed to replace GIF format on WWW. At this moment most of the web browsers don't support PNG format as inline images, but some of the image processing programs do (e.g Paint Shop Pro 4.0 and Adobe Photo Shop 4.0).
BMP is a Windows image file format. Only Microsoft Internet Explorer supports BMP images as inline images.
| TIFF | JPEG | GIF | PNG | BMP | ||
| Bitmap format | ||||||
| bits/pixel (max. color depth) | 24-bit | 24-bit | 8-bit | 48-bit | 24-bit | |
| Transparency | ||||||
| Interlace method | ||||||
| Compression ofthe image | ||||||
| Suitable for... | ||||||
| Photographs | ( |
( |
||||
| Line art, drawings and images with large solid color areas | ||||||
| web publishing (WWW) | ( |
( |
( |
|||


