week-89-lecture-89
week-89-lecture-89
Why
00,33,66,
99,CC,FF?
Green (0,255,0)
Which one is
(99,FF,CC),
(153,255,204
)?
Red (255,0,0)
White
(FF,FF,FF)
(255,255,255)
CS118 – Web Engineering 11
6x6x6 Color Palette
Gamma: 2.4
Gamma: 1.8
Gamma: 1.0
26
Optimizing Web
Graphics
According to the compression method used, graphic
file formats can be regarded as being of three types.
– Compression works by finding areas in your graphics which
are all the same color and replacing them with notes which
say, in effect "this area is all the same color."
The first type stores graphics uncompressed.
– The final file size will typically be a bit larger than the size of
the graphic stored in it, allowing for a bit of extra space for
internal housekeeping for the file.
– Windows BMP (.bmp) files are an example of this sort of
format.
a transparent GIF