Transcript
1
Digital Media
2
Bitmap Graphics Bitmap graphic – “raster graphic graphic”, ”, consists of a grid of dots, and the color of each dot is stored as a binary number
3
Bitmap Graphics Often used to create realistic images Cartoons in video games 3- D graphics software Digital cameras E- mail photos
4
Bitmap Graphics Paint software – graphics software for creating bitmap graphics Adobe Photoshop Jasc Paint Shop Pro Microsoft Paint
5
Bitmap Graphics Scanner – converts printed pages and images into a bitmap graphic Divides image into fine grid of cells cells,, and assigns a digital value for the color of each cell Values are transferred to your computer’s disk and stored as a bitmap
6
Bitmap Graphics
7
Bitmap Graphics Digital camera – digitizes real objects Takes photo in digital format, which you can then transfer directly to your computer
8
Bitmap Graphics
The type of memory module used by a digital camera depends on the brand and model Flash memory – popular technology for digital camera memory modules Holds data without consuming power 9
Bitmap Graphics
10
Bitmap Graphics Direct cable transfer – Fire Wire ports are used to transfer data Infrared port – cameras “ beam beam”” the data to computer’s infrared port Memory card readers – small device connected to computer and designed to read flash cards Floppy disk adapters – adapter shaped like a floppy with slot for a flash memory module
11
Bitmap Graphics
12
Bitmap Graphics
You can use graphics software to modify or edit bitmap graphics by changing individual pixels Retouch Repair Remove red eye or erase “ rabbit ears ears””
Bitmap graphics require large amounts of storage storage,, and take long time to load 13
Bitmap Graphics
Resolution – dimensions of the grid that forms a bitmap graphic Number of horizontal and vertical pixels that it contains 150 x 100 – 150 pixels across and 100 pixels high 14
Bitmap Graphics
High-- resolution graphics contain more data than low High low-- resolution Better printouts
Megapixels – total number of pixels in a graphic 15
Bitmap Graphics
Each pixel is stored as one or more bits More pixels means larger file size 16
Bitmap Graphics
Bitmap has no fixed physical size Size depends on density Graphic retains same resolution no matter how much you stretch or shrink the graphics physical size 17
Bitmap Graphics
18
Bitmap Graphics
Most graphics software lets you specify the size at which image is printed without changing the resolution of the bitmap graphic Get better printout if an image meets or exceeds the printers dpi (dots per inch inch)) 19
Bitmap Graphics
Typically , one pixel corresponds to one pixel on the screen Typically, If image is larger than screen screen,, you will have to scroll 20
Bitmap Graphics Cropping – process of selecting part of an image Resolution dependent – quality of the image depends on its resolution Can reduce image quality If you attempt to enlarge a bitmap, computer must add pixels Pixel interpolation – creates new pixels by averages the colors of nearby
pixels
Pixelated – undesirable bitmappy appearance 21
Bitmap Graphics
22
Bitmap Graphics
Color depth – is the number of colors that are available for use in an image Larger number number,, better quality and larger file size 23
Bitmap Graphics
Monochrome bitmap – pixel could b e “on” or “off” On – represented by a 1 bit Off – represented by a 0 bit Each row of the bitmap stored as 0s and 1s Size of file given by resolution in case of monochrome bitmaps Requires very little storage 24
Bitmap Graphics
25
Bitmap Graphics
True color bitmap (24 24-- bit bitmap bitmap)) – 16.7 million colors Each pixel requires 3 bytes of storage Color based on intensity levels or red red,, green, blue 8 -bits red red,, 88 -bits green, 8 -bits blue (24 (24--bits)
32-- bit bitmap – 16.7 million colors plus special effects 32 26
Bitmap Graphics
Reducing color depth can reduce size of file To reduce color depth depth,, manipulate color palette Color palette – digital version of artist’s palette that holds the selection of colors for use 256 colors – eight bits per pixel (1/3 size required for true color bitmap) 27
Bitmap Graphics
28
Bitmap Graphics Use color palette or color picker tool Grayscale palette – displays an image using shades of gray (usually (usually 256 shades of gray) System palette – selection of colors used by the operating system Windows has 20 permanent colors and 236 that can be changed Web palette – standard set of colors used by the Internet Web browsers
29
Bitmap Graphics n Dithering – uses patterns composed of two or more colors to produce the illusion of additional colors and shading shading,, relying on the human eye to
blend colors and shapes
30
Bitmap Graphics
Bitmap graphics that you wish to print should remain in True Color format Those sent in e- mail or posted on Web site should be reduced to 256-- color palette 256 31
Bitmap Graphics BMP – native bitmap graphic file format of Microsoft Windows OS PCX – one of original personal computer bitmap graphics file formats (8 -bit – 256 color color)) TIFF (Tag Image File Format) – highly flexible and platform platform--independent graphics file format Supports True Color Used by scanners and digital cameras
32
Bitmap Graphics
JPEG – graphics format with built built-- in compression You control level of compression Uses True Color
GIF – limited to 256 colors PNG – 48 48-- bit True Color Color,, compresses without losing data Public domain format 33
Bitmap Graphics
Selecting the best graphics file format to use depends on what you intend to do with the image Scanned and digital images – could be stored as JPEG or TIFF format Images for web pages – GIF or JPEG format Designing Windows controls – BMP format 34
Digital Media
35
Vector and 3-D Graphics
Vector graphic – consists of set of instructions for rere- creating a picture Instead of storing the color value for each pixel, a vector graphic file contains the instructions that the computer needs to create the shape shape,, size size,, position, and color for each object in an image 36
Vector and 3-D Graphics
37
Vector and 3-D Graphics
Flat, cartoon cartoon-- like quality Filename extension .wmf .dxt . mgx .eps .pict .cgm
38
Vector and 3-D Graphics
39
Vector and 3-D Graphics
Vectors resize better than bitmaps Vector images usually require less storage space than bitmaps It is easier to edit an object in a vector graphic than an object in bitmap graphic Vector graphics tend not to produce images that are as realistic as bitmap images 40
Vector and 3-D Graphics
41
Vector and 3-D Graphics Digitizing tablet – device that provides a flat surface for a paper paper--based drawing
42
Vector and 3-D Graphics
Drawing software – vector graphics software Helps you easily edit individual objects by changing their sizes sizes,, shapes,, positions or colors shapes 43
Vector and 3-D Graphics
44
Vector and 3-D Graphics
Gradient – smooth blending of shades from one color to another another,, or from light to dark Metafiles – graphics that contain both bitmap and vector data Apply bitmap texture to vector graphic 45
Vector and 3-D Graphics
46
Vector and 3-D Graphics n
n
47
Rasterization – works by superimposing a grid over a vector image, and determining the color for each pixel Once converted converted,, the resulting graphic no longer has the qualities of a vector graphic
Vector and 3-D Graphics
Tracing software – locates the edges of objects in a bitmap image and converts the resulting shapes into vector graphics objects 48
Vector and 3-D Graphics
Browsers support a limited number of graphics formats – Gif and Jpeg Support for vector graphics has been slow, but plug plug-- ins and players are currently available 49
Vector and 3-D Graphics n
SVG (Scalable Vector Graphics Graphics)) – designed for the Web • Automatically resized when displayed on different screens
• Uses