• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Before You Start

When you insert an image onto a web page, you're actually linking to another file—a graphic file—that is automatically loaded and displayed in the browser. Only certain types of graphics files can be shown in browsers. Following are the three primary graphics files:

  • GIF— GIF images (known by the file extension .gif) are used primarily for illustrations because of their limited color palette. Images that have broad areas of a single color have a smaller file size when saved as a GIF. GIF images are also used when a transparent area is needed; this technique is often used to help an image appear non-rectangular. Finally, small animations can be saved in the GIF format.

  • JPEG— JPEG images are photographic in quality; an image is stored as a JPEG when a blend of colors or color gradations appears in the figure. JPEG files are recognizable by the .jpg or .jpeg file extension. The file size of a JPEG image is controlled by its quality setting; the lower the quality, the smaller the file size. A lower quality setting also means a less detailed image. Most digital cameras can save photographs as JPEG files.

  • PNG— PNG files promise to combine the best of both GIF and JPEG formats; a PNG file has a .png file extension. Unfortunately, PNG files are not as widely supported by the browsers as the other two formats, and I don't recommend their use.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint