|
||||
![]()
|
Types of Web Graphics and FilesBitmap and Vector Images
Bitmaps: When you are working with a bitmap image your computer records the color of every pixel in the image. The more pixels in an image, the larger the file size will be. Other things that help determine the file size of a graphic are the number of colors, the color depth and the amount of compression used when saving the image. And as you might have guessed, the bigger the file size, the longer it will take to download a graphic image from the Web to your computer screen. When you edit a photograph with a photo editing program, you are working with the pixels, so a photo editing program is a Bitmap Based Program. Vectors:
Web Browsers don't display Vector Images because the Web can not display them. So when you create a vector graphic using a vector based program, if you want to display it on the Web, then you have to save it as a Bitmapped Graphic. Most vector drawing programs will have the ability to convert a Vector Image and save it as a Bitmap Graphic. You'll want to save it as a GIF, JPG or PNG type file.
Good Graphics ProgramsThere are enough graphics program on the market to make your head spin and many are very good. Here's a few recommendations. All are programs that I either use, or would use.
GIF, JPG and PNG File Formats for the Web
For Web designing there are four formats you should know about, and probably only two that you will use for your Web images: 1. GIF (Graphics Interchange Format, pronounced "jiff") GIF Images are used mostly for line art and simple graphic that have large areas of flat color, like logos, buttons, drawings, cartoons, maps and charts. This format stores up to 256 colors (8-bit color) from the image in a table called a color palette. Since photo images have millions of colors, when you save a photo as a GIF file using a photo editing program, the program will select the best colors to represent the whole image. When the image is displayed, each pixel in the image is then displayed as one of the colors from the table, much like painting by numbers. When saving the photo, you will also have the option of using dithering to simulate more colors. GIF images have two advantages:
2, JPG or JPEG (Joint Photographic Experts Group Format, pronounced "jay-peg") JPG is the most popular format for displaying photographs on the Web. It can also be used for illustrations and graphics that have many colors and complicated shading. Just so you'll know, the term "JPEG" is often used to describe the JFIF file format (JPEG File Interchange Format). JFIF is a file format that contains an image compressed with the JPEG method. JPEG images have two advantages:
CAUTION: Every time you open a JPEG file and then save it,
the image is compressed. As you go through a series of saves,
the image is increasingly degraded.
Keep the original image untouched and use it only to make copies from. Every time you need to make changes, make a copy from the original and work with the copy.
3. PNG (Portable Network Graphics Format, pronounced "ping") PNG is a newer format that was developed to replace the aging GIF format and is supported by both Microsoft Internet Explorer and Netscape Navigator. PNG combines the best features of GIF and JPG. PNG advanced features:
The problem with the PNG format is that it has never caught on and some Web browsers don't support it so it's best to avoid it for now. It could become more popular as the Web continues to evolve.
4. BMP (Bimap) BMP files are usually not compressed, so they typically have a much larger file size than compressed image file formats of JPG, GIF and PNG. These are all a form of Bitmap Images. Because of their large file size BMPs are generally not used on the web because of the time it takes to load the images. The most likely place you will see BMP images used will be as very small images, such as background tiles.
In the next section on Displaying Images, I'll talk about how Pixel density, Screen Size and Screen Resolution all relate to how your Graphics Images are displayed on a computer screen. |
|||
|
||||