internet graphics

10
1 Internet Graphics

Upload: qiana

Post on 05-Jan-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Internet Graphics. Representing Images. Raster Image : Images consist of “dots” of color, not lines Pixel : Picture element-tiny rectangle Resolution : Number of pixels SVGA: 1280 x 1024 = 1,310,720 VGA: 640 x 480 Your monitor can be modified. Representing Images. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Internet Graphics

1

Internet Graphics

Page 2: Internet Graphics

2

Representing Images

Raster Image: Images consist of “dots” of color, not lines

Pixel: Picture element-tiny rectangle Resolution: Number of pixels

SVGA: 1280 x 1024 = 1,310,720VGA: 640 x 480Your monitor can be modified

Page 3: Internet Graphics

3

Representing Images

RGB: monitor, each pixel Intensity: 0 (dark) – 255 (bright) Representing Color: # - # - #

255-255-255 = white100-0-0 = scarlet16,777,216 = 16 million colors

Page 4: Internet Graphics

4

Representing Images

Light media: RGB Opaque media: paint

Red, blue, yellow Printers

Cyan, yellow, magentaMust have conversion software for

translating monitor to printer

Page 5: Internet Graphics

5

Storage of Images

1 byte = 8 bits = 255 values Images are memory hogs Causes problems with transmission e.g. Image: 5 million pixels = 14 Mb Solutions

Less “accuracy” Compression

Page 6: Internet Graphics

6

Reducing Color Depth

Reduce the number of colorsDepth: measured by bits/pixelTrue color = 3 bytes = 24 bits

Page 7: Internet Graphics

7

8-bit Color

1 byte = 8 bits = 256 colors Color Palette – 256 colors

Multiple palettes are available 8-bit number represents the

particular color in the palette – not the mix of RGB

Uses 1/3 storage space + 768 bytes to define the palette

Page 8: Internet Graphics

8

Other Color Depths

1-bit - Black & White 4-bit = 16 colors

Simple drawings, iconsWindows, but can change paletteStart; Settings; Control Panel;

Display; Appearance; Scheme

Page 9: Internet Graphics

9

Color Depth Tradeoff

Color depth vs. Resolution Due to storage requirements, must

reduce one 1280 x 1024 256 colors 16 M colors 640 x 480 Photos: need more than 256 colors

Page 10: Internet Graphics

10