Computer Graphics - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

Computer Graphics

Description:

How to draw the circle? The circle is represented by a mathematical formula: ... Example: Corel Draw and Powerpoint. Computer Graphics. Presentation Software ... – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 15
Provided by: shun5
Category:

less

Transcript and Presenter's Notes

Title: Computer Graphics


1
Computer Graphics
  • Graphics software allows users to create and edit
    graphics
  • Graphics can be divided into 2 types
  • Bitmap (Raster) Graphics
  • Vector Graphics

2
Bitmap Graphics
  • A bitmap graphic is represented by a dot pattern
  • Each dot is called a Pixel (picture element)
  • A pixel has a single color only

3
Vector Graphics
  • A vector graphic is divided into objects
  • Each object is defined by the method of drawing
    it

This picture contains 3 objectsa line, a circle
and a rectangle
4
How to draw the circle?
  • The circle is represented by a mathematical
    formula

Circle(50,100,150,black,1,green)
A few bits is enough to save the properties of
this circle!
5
Advantages of using Vector Graphics
  • It requires less storage space
  • When a vector graphic is enlarged, it remains
    intact (no distortion)

Enlarging a Vector Graphic
The line is as smooth as before
Enlarging a Bitmap Graphic
The line thickened saw-tooth resulted
6
Disadvantages of using Vector Graphics
  • Vector graphics cannot look as realistic as
    bitmap pictures.

7
Common Graphic File Format
  • Bitmap (.bmp) - a common graphic file
    formatcan be read by almost all programs
  • Gif (.gif) - a compressed bitmap file format. It
    can support up to 256 colors
  • Jpeg (.jpg) - a lossy compressed bitmap file
    format. But it can support up to 16.7 million
    colors
  • (because it applies lossy compression, some of
    the details is lost!)

8
Jpeg Format (5kB)
Gif Format (26kB)
9
Comparison Table
10
Creating Graphics
  • Painting Software
  • Drawing Software
  • Presentation Software

11
Painting Software
  • A painting program creates an image by setting
    the colors of individual screen pixels.
  • The pictures created by a painting program are
    thus bitmap graphics.
  • Example Paintbrush, PhotoImpact

12
Drawing Software
  • A drawing program generates formulae to represent
    the objects drawn by users. The pictures created
    are thus object-oriented graphics.
  • In using a drawing program, you are provided with
    a variety of drawing tools.
  • Example Corel Draw and Powerpoint.

13
Presentation Software
  • A presentation program is a drawing program that
    help users to prepare the essential components of
    a presentation - presentation outlines, slides,
    audience handouts and speakers notes.
  • Users can also use a presentation program to run
    an on-screen slide show.
  • Example Microsoft PowerPoint.

14
Importing Graphics
  • Clip Art Library
  • Image Scanner
  • Screen Capture

Outputting Graphics
  • Printer
  • Plotter
Write a Comment
User Comments (0)
About PowerShow.com