
Graphics Overview
| Image Types | ||
| Bitmap (Raster) | an image that is made up of a grid of individual boxes of color called pixels. Bitmap images include gif, jpg, psd, tiff, pict, bmp file formats among others. Bitmap images can sometimes appear to be “pixelated” and will lose quality when their size is increased. | |
| Vector | an image whose lines and fill areas are described by mathematical equations. Vector images include png, ai, and swf files among others. Vector images can be resized without losing any quality. Vector images are often converted to bitmap images (gif and jpg) for the web. This conversion, sometimes referred to as "rasterizing" the graphic, can be very useful because we currently do not have an established and accepted vector format on the web. Some browsers, such Internet Explorer 4+, Netscape 7, and Safari, can display PNG files (vector images). However, since not all browsers support vector format, vector images should be converted to bitmap images for the web to accommodate as many users as possible. | |
| File Formats for the Summer | ||
| gif |
|
|
| jpg |
|
|
| png, psd, ai |
|
|
| tiff |
|
|
| Image File Size | |||
| Palette | |||
| RGB |
|
||
| Web-safe |
|
||
| Custom |
|
||
| CMYK |
|
||
| Resolution | |||
| Read documentation linked from Intern Binder. | |||
| Image Dimensions | |||
| The larger the dimensions the larger the file size. | |||
| Tricks for working with images | ||||||
| Dithering | used on gifs to allow for “more” colors. Different colors are put into adjacent pixels in a checkerboard pattern to trick the eye into thinking that they are mixed together into a new color. Because of the way that gifs are compressed dithering can greatly increase the file size of an image. The only good time to use dithering is if you have gradients or fades in your image. Dithering will make the fade look more realistic and less like solid bands of color.
|
|||||
| Interlacing gifs and progressive jpgs | used to show a faster preview of an image on the screen. Interlacing gifs and progressive jpgs download alternating rows of pixels, instead of first pixel to last. This gives the user an illusion of a faster download since they are able to see more of the total image faster, but the images actually take longer to download. This can be useful if you have a lot of images on a page causing it to download slowly. Users will be able to see fuzzy representations of images faster and allow them to navigate the page (or your site) before the page has completely downloaded.
|
|||||
| Anti-aliasing or Smoothing | Used to smooth the edges of your shapes and text. Anti-aliasing and smoothing use a pattern of intermediate colors to blend the edges of your objects into their background colors. This can help remove the pixelated or jagged edges. Anti-aliasing should not be used for gifs with transparent backgrounds as it will make the edges of the objects appear fuzzy and jagged. Smoothing should not be used for text if the font size is 10 or smaller. Remember that the edges of jpgs are already smoothed to some degree through the compression process.
|
|||||
| Gotchas | |
| Don’t save a file as a jpg until you are completely
finished with your
editing! Jpg compression is a lossy compression. Each time you save a jpg you will lose information and so your quality will degrade. Make sure to keep your original files (png, psd, ai, tiff, etc.) for editing and save as a jpg only when the editing is complete. This will result in the highest quality jpg possible. |
|
| Don’t dither gifs unless absolutely necessary! Because gif compression can only work with horizontal bands of color, dithering (creating small checkerboard patterns) will greatly reduce the amount of compression that can be done. Dither only for gradients and fades. |
|