| In a "full color" image, there are three colors used for every pixel. these three colors are Red, Green and Blue. Each pixel in the image has a mixture of RGB, in values of 0 to 255. So there are 24 bits of color information per pixel, 8 bits of Red, 8 bits of Green and 8 bits of Blue. 24 bit, full colro images can be very large. The internet browsers and connection are not fast enough to handle very large files, even with DSL and very fast connections! If page has large number of full color images the page will be very slow to load. Compression: |
|
|
The
Image above is a GIF image. In the .GIF format images are compressed by
limited the amount of color. This images has 256 colors total. GIF can
be saved in less color information as well. In photoshop you can limit
the number of colors to 2, 3, 4, 5 ....and up to 256. The maximum is 256. You will notice that the image is "pixelated" this is because the numberof colors is limited to 256 and there is not enough colors to see a smooth change ove rth images as in the .JPEG in right panel. The image below is a close up. You can see each pixel and see the color in each pixel is quite distinct from the other pixels. |
This
is the same image saved in JPEG format. .JPEGs are 24 bit full color images
that are comressed using an algrithm. this keep the color information and
theimages will display nicely. The compression can beset to make avery small
file or a larger file. The smaller the file, the more compression, and the image quality is affected. You have to trade off quality for size. If you have only one image on your page, then you may be able to use low compression, high quality image. if you have many images, it will be best to compress more to reduce thamount of information you are sending across the net. |
|
These Images on the right panel are two palettes for color. The first above is a color table from Power Point. The second, below right, is the color table from Dreamweaver. The Dreamweaver pallette is in Hexadecimal. You see the red circle around the string of numbers and letters above? This is a color! each two spaces in the word are for red, green and blue. more on Hexadecimal color a can be found in the following link, hexcolor.htm.
|
|
|
|
Below
is the same image scaled to some other resolution than 72 pixels! The
images is scaled to occupy 326 x 252 pixels. |
|
Transparency: In the panel
above there is a background image imported. over that is some .GIFs with
the Index #0 set to be transparent. this allows the image to superimpose
over a backgorundimage or color. |
|
![]() This is a the same transparent .GIF! just over a white background. |
|