Image Formats
Unfortunately, image files come in a variety of formats, so Web browsers must
either be able to deal with many formats, or you must have the capability to
convert easily among these formats.
Browsers generally display images in two different ways: (1) in-line, using the
browser itself, and (2) externally, in a separate window,
often with the aid of a
"Helper Application". The adjacent figure is an example of an in-line image;
here is an example of an
external image.
For graphics created on a Macintosh, files can often be saved in a PICT format, but not GIF or JPEG. You don't need to worry about the technical differences between PICT and JPEG and GIF formats; You only need to know that there are programs available that will convert from the PICT format to either GIF or JPEG. So if you are using graphics software on a Macintosh to create artwork that you want to put on a Web page, you will probably also need access to one of these format conversion programs. More on this later.
For example, it is very common in scientific and technical settings to encounter images written in Postscript format (Postscript files commonly have a .ps or .eps extension in their names). A browser like Netscape cannot display Postscript directly, but it can be configured such that when it encounters a Postscript file it launches a helper application that displays the file in a separate window.
| MIME TYPE | APPLICATION | ACTION | EXTENSIONS |
| image/gif | JPEGView | Internal | gif |
| image/jpeg | JPEGView | Internal | jpg, jpeg, jpe |
| image/pict | SimpleText | Launch | pict, pic |
| image/tiff | JPEGView | Launch | tif, tiff |
| application/postscript | Mac GSview | Launch | ps, eps |
In this table, the "Mime Type" is a document classification, "Internal" for the action means the display is in-line and "Launch" means that an external window is launched. "Extensions" are the file extensions that the browser will recognize as indicating a file of this type. Thus this browser, upon encountering a file image.pict, would assume it to be a PICT image file and automatically launch SimpleText as an external viewer to display it.
Next
Back
Top
Home
Help